Unbreak the build by protecting kernel-only functions with #ifdef _KERNEL.

This commit is contained in:
cognet 2008-07-29 21:48:01 +00:00
parent aa17b308bb
commit 5b3bca2471

View File

@ -96,6 +96,8 @@ struct sockbuf {
short sb_flags; /* (c/d) flags, see below */
};
#ifdef _KERNEL
void sbappend(struct sockbuf *sb, struct mbuf *m);
void sbappend_locked(struct sockbuf *sb, struct mbuf *m);
void sbappendstream(struct sockbuf *sb, struct mbuf *m);
@ -195,4 +197,6 @@ void sblastmbufchk(struct sockbuf *, const char *, int);
#define SBLASTMBUFCHK(sb) /* nothing */
#endif /* SOCKBUF_DEBUG */
#endif /* _KERNEL */
#endif /* _SYS_SOCKBUF_H_ */