diff --git a/include/libzfs.h b/include/libzfs.h index eeb4daae723..7ad44bc5966 100644 --- a/include/libzfs.h +++ b/include/libzfs.h @@ -826,6 +826,7 @@ extern int zfs_mount(zfs_handle_t *, const char *, int); extern int zfs_mount_at(zfs_handle_t *, const char *, int, const char *); extern int zfs_unmount(zfs_handle_t *, const char *, int); extern int zfs_unmountall(zfs_handle_t *, int); +extern int zfs_mount_delegation_check(void); #if defined(__linux__) extern int zfs_parse_mount_options(char *mntopts, unsigned long *mntflags, diff --git a/include/libzfs_impl.h b/include/libzfs_impl.h index a2389daea46..de67304085d 100644 --- a/include/libzfs_impl.h +++ b/include/libzfs_impl.h @@ -30,7 +30,6 @@ #define _LIBZFS_IMPL_H #include -#include #include #include #include @@ -243,7 +242,6 @@ extern proto_table_t proto_table[PROTO_END]; extern int do_mount(zfs_handle_t *zhp, const char *mntpt, char *opts, int flags); extern int do_unmount(const char *mntpt, int flags); -extern int zfs_mount_delegation_check(void); extern int zfs_share_proto(zfs_handle_t *zhp, zfs_share_proto_t *proto); extern int unshare_one(libzfs_handle_t *hdl, const char *name, const char *mountpoint, zfs_share_proto_t proto);