Skip to content

Commit

Permalink
libzfs: don't distribute libzfs_impl.h
Browse files Browse the repository at this point in the history
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
  • Loading branch information
nabijaczleweli committed May 15, 2021
1 parent 9c16034 commit 70535b5
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion include/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ USER_H = \
libzfs.h \
libzfsbootenv.h \
libzfs_core.h \
libzfs_impl.h \
libzutil.h \
thread_pool.h

Expand Down
1 change: 0 additions & 1 deletion lib/libshare/libshare.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#include <unistd.h>
#include <libzfs.h>
#include <libshare.h>
#include "libzfs_impl.h"
#include "libshare_impl.h"
#include "nfs.h"
#include "smb.h"
Expand Down
2 changes: 1 addition & 1 deletion lib/libshare/os/freebsd/nfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h>
#include <libintl.h>

#include "libzfs_impl.h"
#include <libshare.h>
#include "libshare_impl.h"
#include "nfs.h"

Expand Down
1 change: 1 addition & 0 deletions lib/libzfs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ lib_LTLIBRARIES = libzfs.la
include $(top_srcdir)/config/Abigail.am

USER_C = \
libzfs_impl.h \
libzfs_changelist.c \
libzfs_config.c \
libzfs_crypto.c \
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/libzfs/libzfs_import.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <unistd.h>
#include <sys/vdev_impl.h>
#include <libzfs.h>
#include <libzfs_impl.h>
#include "libzfs_impl.h"
#include <libzutil.h>
#include <sys/arc_impl.h>

Expand Down
2 changes: 1 addition & 1 deletion lib/libzfs/os/freebsd/libzfs_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* Copyright (c) 2013 Martin Matuska <mm@FreeBSD.org>. All rights reserved.
*/
#include <os/freebsd/zfs/sys/zfs_ioctl_compat.h>
#include <libzfs_impl.h>
#include "../../libzfs_impl.h"
#include <libzfs.h>
#include <libzutil.h>
#include <sys/sysctl.h>
Expand Down
2 changes: 1 addition & 1 deletion lib/libzfs/os/freebsd/libzfs_zmount.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$");
#include <sys/errno.h>
#include <libzfs.h>

#include "libzfs_impl.h"
#include "../../libzfs_impl.h"

static void
build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val,
Expand Down
2 changes: 1 addition & 1 deletion lib/libzfs/os/linux/libzfs_mount_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#include <sys/dsl_crypt.h>
#include <libzfs.h>

#include "libzfs_impl.h"
#include "../../libzfs_impl.h"
#include <thread_pool.h>

#define ZS_COMMENT 0x00000000 /* comment */
Expand Down
2 changes: 1 addition & 1 deletion lib/libzfs/os/linux/libzfs_pool_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

#include "zfs_namecheck.h"
#include "zfs_prop.h"
#include "libzfs_impl.h"
#include "../../libzfs_impl.h"
#include "zfs_comutil.h"
#include "zfeature_common.h"

Expand Down
2 changes: 1 addition & 1 deletion lib/libzfs/os/linux/libzfs_sendrecv_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include <libzfs.h>

#include "libzfs_impl.h"
#include "../../libzfs_impl.h"

#ifndef F_SETPIPE_SZ
#define F_SETPIPE_SZ (F_SETLEASE + 7)
Expand Down
2 changes: 1 addition & 1 deletion lib/libzfs/os/linux/libzfs_util_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include <libzfs.h>
#include <libzfs_core.h>

#include "libzfs_impl.h"
#include "../../libzfs_impl.h"
#include "zfs_prop.h"
#include <libzutil.h>
#include <sys/zfs_sysfs.h>
Expand Down

0 comments on commit 70535b5

Please sign in to comment.