summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timer.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-05-10 15:58:48 +0000
committerrwatson <rwatson@FreeBSD.org>2007-05-10 15:58:48 +0000
commita25f94b5ae47af3cd364faa45ba35b34610eb8e9 (patch)
tree2075644406447dff1b0f6bb1567b5058f2fa628c /sys/netinet/tcp_timer.c
parenta55a86971407200964b1955b343fe4aee3ae676f (diff)
downloadFreeBSD-src-a25f94b5ae47af3cd364faa45ba35b34610eb8e9.zip
FreeBSD-src-a25f94b5ae47af3cd364faa45ba35b34610eb8e9.tar.gz
Move universally to ANSI C function declarations, with relatively
consistent style(9)-ish layout.
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r--sys/netinet/tcp_timer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 0e4f4e3..dd380b7 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -128,7 +128,7 @@ static int tcp_timer_rexmt(struct tcpcb *, struct inpcb *);
* causes finite state machine actions if timers expire.
*/
void
-tcp_slowtimo()
+tcp_slowtimo(void)
{
tcp_maxidle = tcp_keepcnt * tcp_keepintvl;
@@ -149,7 +149,6 @@ static int tcp_timer_race;
SYSCTL_INT(_net_inet_tcp, OID_AUTO, timer_race, CTLFLAG_RD, &tcp_timer_race,
0, "Count of t_inpcb races on tcp_discardcb");
-
void
tcp_timer_activate(struct tcpcb *tp, int timer_type, u_int delta)
{
@@ -417,7 +416,6 @@ shutdown:
return;
}
-
/*
* TCP timer processing.
*/
OpenPOWER on IntegriCloud