Move #ifdef _KERNEL higher in socketvar.h to cover various socket
buffer related macros.
This commit is contained in:
parent
1d705c5cf0
commit
e656d9a6c4
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user