aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sockbuf.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2018-10-22 21:17:36 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2018-10-22 21:17:36 +0000
commit74e10fb613d57d62418a67c017bdad812b18c0e6 (patch)
tree01c05e75705b7f49d010415d5ce20dd935e8ddbb /sys/sys/sockbuf.h
parent642909fdfb1f3530ed095a870209ba308f949dcd (diff)
downloadsrc-74e10fb613d57d62418a67c017bdad812b18c0e6.tar.gz
src-74e10fb613d57d62418a67c017bdad812b18c0e6.zip
A couple of style fixes in recent TCP changes.
- Add a blank line before a block comment to match other block comments in the same function. - Sort the prototype for sbsndptr_adv and fix whitespace between return type and function name. Reviewed by: gallatin, bz Differential Revision: https://reviews.freebsd.org/D17474
Notes
Notes: svn path=/head/; revision=339619
Diffstat (limited to 'sys/sys/sockbuf.h')
-rw-r--r--sys/sys/sockbuf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/sockbuf.h b/sys/sys/sockbuf.h
index ad452ad4f4ab..a06b835bd1c1 100644
--- a/sys/sys/sockbuf.h
+++ b/sys/sys/sockbuf.h
@@ -165,10 +165,9 @@ int sbreserve_locked(struct sockbuf *sb, u_long cc, struct socket *so,
struct thread *td);
struct mbuf *
sbsndptr(struct sockbuf *sb, u_int off, u_int len, u_int *moff);
+void sbsndptr_adv(struct sockbuf *sb, struct mbuf *mb, u_int len);
struct mbuf *
sbsndptr_noadv(struct sockbuf *sb, u_int off, u_int *moff);
-void
- sbsndptr_adv(struct sockbuf *sb, struct mbuf *mb, u_int len);
struct mbuf *
sbsndmbuf(struct sockbuf *sb, u_int off, u_int *moff);
int sbwait(struct sockbuf *sb);