aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/sys/socketvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/socketvar.h b/sys/sys/socketvar.h
index cebb95505610..e33be97a68f0 100644
--- a/sys/sys/socketvar.h
+++ b/sys/sys/socketvar.h
@@ -232,6 +232,8 @@ struct xsocket {
uid_t so_uid; /* XXX */
};
+#ifdef _KERNEL
+
/*
* Macros for sockets and socket buffering.
*/
@@ -348,8 +350,6 @@ struct xsocket {
sowakeup((so), &(so)->so_snd); \
} while (0)
-#ifdef _KERNEL
-
/*
* Argument structure for sosetopt et seq. This is in the KERNEL
* section because it will never be visible to user code.