libzfs: don't distribute libzfs_impl.h

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12048
This commit is contained in:
наб 2021-05-15 13:00:05 +02:00 committed by Brian Behlendorf
parent 94f942c658
commit eefaa55f64
12 changed files with 9 additions and 10 deletions

View File

@ -17,7 +17,6 @@ USER_H = \
libzfs.h \ libzfs.h \
libzfsbootenv.h \ libzfsbootenv.h \
libzfs_core.h \ libzfs_core.h \
libzfs_impl.h \
libzutil.h \ libzutil.h \
thread_pool.h thread_pool.h

View File

@ -36,7 +36,6 @@
#include <unistd.h> #include <unistd.h>
#include <libzfs.h> #include <libzfs.h>
#include <libshare.h> #include <libshare.h>
#include "libzfs_impl.h"
#include "libshare_impl.h" #include "libshare_impl.h"
#include "nfs.h" #include "nfs.h"
#include "smb.h" #include "smb.h"

View File

@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h> #include <unistd.h>
#include <libintl.h> #include <libintl.h>
#include "libzfs_impl.h" #include <libshare.h>
#include "libshare_impl.h" #include "libshare_impl.h"
#include "nfs.h" #include "nfs.h"

View File

@ -16,6 +16,7 @@ lib_LTLIBRARIES = libzfs.la
include $(top_srcdir)/config/Abigail.am include $(top_srcdir)/config/Abigail.am
USER_C = \ USER_C = \
libzfs_impl.h \
libzfs_changelist.c \ libzfs_changelist.c \
libzfs_config.c \ libzfs_config.c \
libzfs_crypto.c \ libzfs_crypto.c \

View File

@ -36,7 +36,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/vdev_impl.h> #include <sys/vdev_impl.h>
#include <libzfs.h> #include <libzfs.h>
#include <libzfs_impl.h> #include "libzfs_impl.h"
#include <libzutil.h> #include <libzutil.h>
#include <sys/arc_impl.h> #include <sys/arc_impl.h>

View File

@ -23,7 +23,7 @@
* Copyright (c) 2013 Martin Matuska <mm@FreeBSD.org>. All rights reserved. * Copyright (c) 2013 Martin Matuska <mm@FreeBSD.org>. All rights reserved.
*/ */
#include <os/freebsd/zfs/sys/zfs_ioctl_compat.h> #include <os/freebsd/zfs/sys/zfs_ioctl_compat.h>
#include <libzfs_impl.h> #include "../../libzfs_impl.h"
#include <libzfs.h> #include <libzfs.h>
#include <libzutil.h> #include <libzutil.h>
#include <sys/sysctl.h> #include <sys/sysctl.h>

View File

@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$");
#include <sys/errno.h> #include <sys/errno.h>
#include <libzfs.h> #include <libzfs.h>
#include "libzfs_impl.h" #include "../../libzfs_impl.h"
static void static void
build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val,

View File

@ -47,7 +47,7 @@
#include <sys/dsl_crypt.h> #include <sys/dsl_crypt.h>
#include <libzfs.h> #include <libzfs.h>
#include "libzfs_impl.h" #include "../../libzfs_impl.h"
#include <thread_pool.h> #include <thread_pool.h>
#define ZS_COMMENT 0x00000000 /* comment */ #define ZS_COMMENT 0x00000000 /* comment */

View File

@ -49,7 +49,7 @@
#include "zfs_namecheck.h" #include "zfs_namecheck.h"
#include "zfs_prop.h" #include "zfs_prop.h"
#include "libzfs_impl.h" #include "../../libzfs_impl.h"
#include "zfs_comutil.h" #include "zfs_comutil.h"
#include "zfeature_common.h" #include "zfeature_common.h"

View File

@ -22,7 +22,7 @@
#include <libzfs.h> #include <libzfs.h>
#include "libzfs_impl.h" #include "../../libzfs_impl.h"
#ifndef F_SETPIPE_SZ #ifndef F_SETPIPE_SZ
#define F_SETPIPE_SZ (F_SETLEASE + 7) #define F_SETPIPE_SZ (F_SETLEASE + 7)

View File

@ -38,7 +38,7 @@
#include <libzfs.h> #include <libzfs.h>
#include <libzfs_core.h> #include <libzfs_core.h>
#include "libzfs_impl.h" #include "../../libzfs_impl.h"
#include "zfs_prop.h" #include "zfs_prop.h"
#include <libzutil.h> #include <libzutil.h>
#include <sys/zfs_sysfs.h> #include <sys/zfs_sysfs.h>