aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_byteswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/zfs_byteswap.c')
-rw-r--r--module/zfs/zfs_byteswap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/module/zfs/zfs_byteswap.c b/module/zfs/zfs_byteswap.c
index 1b8bb82c3..cd35849c3 100644
--- a/module/zfs/zfs_byteswap.c
+++ b/module/zfs/zfs_byteswap.c
@@ -30,6 +30,9 @@
#include <sys/zfs_sa.h>
#include <sys/zfs_acl.h>
+#ifndef _KERNEL
+static
+#endif
void
zfs_oldace_byteswap(ace_t *ace, int ace_cnt)
{
@@ -46,6 +49,9 @@ zfs_oldace_byteswap(ace_t *ace, int ace_cnt)
/*
* swap ace_t and ace_object_t
*/
+#ifndef _KERNEL
+static
+#endif
void
zfs_ace_byteswap(void *buf, size_t size, boolean_t zfs_layout)
{