Unbreak the build by protecting kernel-only functions with #ifdef _KERNEL.
This commit is contained in:
parent
aa17b308bb
commit
5b3bca2471
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user