diff options
author | Arvind Sankar <[email protected]> | 2020-06-11 16:25:39 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-06-18 12:21:25 -0700 |
commit | 60356b1a211a0fcfe7dbd2e1dd280d6fc0170cf0 (patch) | |
tree | ca3cd9430efffadd0f1a98994c3d864ce16076b0 /module/zcommon/zpool_prop.c | |
parent | c3fe42aabd9f8879500437e2be2968b47e8b6797 (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 'module/zcommon/zpool_prop.c')
-rw-r--r-- | module/zcommon/zpool_prop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/zcommon/zpool_prop.c b/module/zcommon/zpool_prop.c index 155d557f4..3cfb435e4 100644 --- a/module/zcommon/zpool_prop.c +++ b/module/zcommon/zpool_prop.c @@ -235,6 +235,7 @@ zpool_prop_random_value(zpool_prop_t prop, uint64_t seed) } #ifndef _KERNEL +#include <libzfs.h> const char * zpool_prop_values(zpool_prop_t prop) |