Move #ifdef _KERNEL higher in socketvar.h to cover various socket

buffer related macros.
This commit is contained in:
Robert Watson 2004-06-12 22:09:34 +00:00
parent 1d705c5cf0
commit e656d9a6c4

View File

@ -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.