Unbreak the build by protecting kernel-only functions with #ifdef _KERNEL.
This commit is contained in:
parent
f35a20921e
commit
8cad15c8fe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180970
@ -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