aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/socketvar.h
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-06-12 22:09:34 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-06-12 22:09:34 +0000
commite656d9a6c495f7b8ec8b663654c56d84c012c74a (patch)
treef6eb33468ea4a1eb8862cd6f269298a90f7f8132 /sys/sys/socketvar.h
parent1d705c5cf07ff146160782bd4d27c7fedcf05b24 (diff)
downloadsrc-e656d9a6c495f7b8ec8b663654c56d84c012c74a.tar.gz
src-e656d9a6c495f7b8ec8b663654c56d84c012c74a.zip
Move #ifdef _KERNEL higher in socketvar.h to cover various socket
buffer related macros.
Notes
Notes: svn path=/head/; revision=130393
Diffstat (limited to 'sys/sys/socketvar.h')
-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.