aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzfs
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-06-11 16:25:39 -0400
committerBrian Behlendorf <[email protected]>2020-06-18 12:21:25 -0700
commit60356b1a211a0fcfe7dbd2e1dd280d6fc0170cf0 (patch)
treeca3cd9430efffadd0f1a98994c3d864ce16076b0 /lib/libzfs
parentc3fe42aabd9f8879500437e2be2968b47e8b6797 (diff)
Add include files for prototypes
Include the header with prototypes in the file that provides definitions as well, to catch any mismatch between prototype and definition. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Arvind Sankar <[email protected]> Closes #10470
Diffstat (limited to 'lib/libzfs')
-rw-r--r--lib/libzfs/os/freebsd/libzfs_zmount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libzfs/os/freebsd/libzfs_zmount.c b/lib/libzfs/os/freebsd/libzfs_zmount.c
index c6415b8b8..2207fffc5 100644
--- a/lib/libzfs/os/freebsd/libzfs_zmount.c
+++ b/lib/libzfs/os/freebsd/libzfs_zmount.c
@@ -43,6 +43,8 @@ __FBSDID("$FreeBSD$");
#include <sys/errno.h>
#include <libzfs.h>
+#include "libzfs_impl.h"
+
static void
build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val,
size_t len)