diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 06:36:17 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 06:36:17 +0000 |
commit | dd967330f877f22b3e89652f57f836c51caec4e7 (patch) | |
tree | e8bf54c16ee1ce6e92b1128a0ff14343f8e39a07 /cpukit/libnetworking/netinet/tcp_timer.c | |
parent | 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-dd967330f877f22b3e89652f57f836c51caec4e7.tar.bz2 |
Stop using old-style function definitions.
Diffstat (limited to 'cpukit/libnetworking/netinet/tcp_timer.c')
-rw-r--r-- | cpukit/libnetworking/netinet/tcp_timer.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/cpukit/libnetworking/netinet/tcp_timer.c b/cpukit/libnetworking/netinet/tcp_timer.c index 7d37e05cf6..4f1787f965 100644 --- a/cpukit/libnetworking/netinet/tcp_timer.c +++ b/cpukit/libnetworking/netinet/tcp_timer.c @@ -95,7 +95,7 @@ static int tcp_maxpersistidle; * Fast timeout routine for processing delayed acks */ void -tcp_fasttimo() +tcp_fasttimo(void) { register struct inpcb *inp; register struct tcpcb *tp; @@ -121,7 +121,7 @@ tcp_fasttimo() * causes finite state machine actions if timers expire. */ void -tcp_slowtimo() +tcp_slowtimo(void) { register struct inpcb *ip, *ipnxt; register struct tcpcb *tp; @@ -186,8 +186,7 @@ tpgone: * Cancel all timers for TCP tp. */ void -tcp_canceltimers(tp) - struct tcpcb *tp; +tcp_canceltimers(struct tcpcb *tp) { register int i; @@ -204,9 +203,7 @@ static int tcp_totbackoff = 511; /* sum of tcp_backoff[] */ * TCP timer processing. */ struct tcpcb * -tcp_timers(tp, timer) - register struct tcpcb *tp; - int timer; +tcp_timers(struct tcpcb *tp, int timer) { register int rexmt; |