Author: jhb Date: Mon Oct 22 21:17:36 2018 New Revision: 339619 URL: https://svnweb.freebsd.org/changeset/base/339619
Log: 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 Modified: head/sys/netinet/tcp_output.c head/sys/sys/sockbuf.h Modified: head/sys/netinet/tcp_output.c ============================================================================== --- head/sys/netinet/tcp_output.c Mon Oct 22 20:55:35 2018 (r339618) +++ head/sys/netinet/tcp_output.c Mon Oct 22 21:17:36 2018 (r339619) @@ -895,6 +895,7 @@ send: len = max_len; } } + /* * Prevent the last segment from being * fractional unless the send sockbuf can be Modified: head/sys/sys/sockbuf.h ============================================================================== --- head/sys/sys/sockbuf.h Mon Oct 22 20:55:35 2018 (r339618) +++ head/sys/sys/sockbuf.h Mon Oct 22 21:17:36 2018 (r339619) @@ -165,10 +165,9 @@ int sbreserve_locked(struct sockbuf *sb, u_long cc, st 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); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"