--- src/sys/sys/socketvar.h 2008/05/27 05:25:36 1.31 +++ src/sys/sys/socketvar.h 2008/05/27 17:31:12 1.32 @@ -217,6 +217,8 @@ struct xsocket { /* do we have to send all at once on a socket? */ +#ifdef _KERNEL + /* * How much space is there in a socket buffer (so->so_snd or so->so_rcv)? * This is problematical if the fields are unsigned, as the space might @@ -240,6 +242,8 @@ ssb_space(struct signalsockbuf *ssb) return((bleft < mleft) ? bleft : mleft); } +#endif + #define ssb_append(ssb, m) \ sbappend(&(ssb)->sb, m)