summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2007-03-21 19:37:55 +0000
committerandre <andre@FreeBSD.org>2007-03-21 19:37:55 +0000
commit8aefbb617959eb71f5ec34bd628b570fc029b63b (patch)
tree6ac6b5740ab0701ffa9e20c1f0abd778756b96ed /sys/netinet/tcp_subr.c
parent844ebe3715b92770b45354267210e3d909c96260 (diff)
downloadFreeBSD-src-8aefbb617959eb71f5ec34bd628b570fc029b63b.zip
FreeBSD-src-8aefbb617959eb71f5ec34bd628b570fc029b63b.tar.gz
ANSIfy function declarations and remove register keywords for variables.
Consistently apply style to all function declarations.
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 2f1e385..46e7eed 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -466,10 +466,10 @@ tcpip_maketemplate(struct inpcb *inp)
* NOTE: If m != NULL, then ti must point to *inside* the mbuf.
*/
void
-tcp_respond(struct tcpcb *tp, void *ipgen, register struct tcphdr *th,
- register struct mbuf *m, tcp_seq ack, tcp_seq seq, int flags)
+tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th,
+ struct mbuf *m, tcp_seq ack, tcp_seq seq, int flags)
{
- register int tlen;
+ int tlen;
int win = 0;
struct ip *ip;
struct tcphdr *nth;
@@ -1058,7 +1058,7 @@ tcp_pcblist(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_net_inet_tcp, TCPCTL_PCBLIST, pcblist, CTLFLAG_RD, 0, 0,
- tcp_pcblist, "S,xtcpcb", "List of active TCP connections");
+ tcp_pcblist, "S,xtcpcb", "List of active TCP connections");
static int
tcp_getcred(SYSCTL_HANDLER_ARGS)
OpenPOWER on IntegriCloud