From e656d9a6c495f7b8ec8b663654c56d84c012c74a Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sat, 12 Jun 2004 22:09:34 +0000 Subject: Move #ifdef _KERNEL higher in socketvar.h to cover various socket buffer related macros. --- sys/sys/socketvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/sys/socketvar.h') 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. -- cgit v1.2.3