sockbufs: make sbrelease_internal() private

This commit is contained in:
Gleb Smirnoff 2022-05-09 10:43:01 -07:00
parent a982ce0442
commit 7db54446c6
2 changed files with 1 additions and 2 deletions

View File

@ -710,7 +710,7 @@ sbsetopt(struct socket *so, int cmd, u_long cc)
/*
* Free mbufs held by a socket, and reserved mbuf space.
*/
void
static void
sbrelease_internal(struct sockbuf *sb, struct socket *so)
{

View File

@ -172,7 +172,6 @@ void sbdroprecord_locked(struct sockbuf *sb);
void sbflush(struct sockbuf *sb);
void sbflush_locked(struct sockbuf *sb);
void sbrelease(struct sockbuf *sb, struct socket *so);
void sbrelease_internal(struct sockbuf *sb, struct socket *so);
void sbrelease_locked(struct sockbuf *sb, struct socket *so);
int sbsetopt(struct socket *so, int cmd, u_long cc);
int sbreserve_locked(struct sockbuf *sb, u_long cc, struct socket *so,