diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-26 19:01:16 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-26 19:01:16 +0000 |
commit | 527e33ce73c0460186406679b20670ac9ebe6972 (patch) | |
tree | df8a11ced70873338c2fc498a3aba2f32bf7a53d /tcp_timer.h | |
parent | 93ebd039aab8b830e0887dd59360f2ba8de75c07 (diff) | |
download | slirp-527e33ce73c0460186406679b20670ac9ebe6972.zip slirp-527e33ce73c0460186406679b20670ac9ebe6972.tar.gz slirp-527e33ce73c0460186406679b20670ac9ebe6972.tar.bz2 |
Use const and static as needed, disable unused code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3452 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcp_timer.h')
-rw-r--r-- | tcp_timer.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tcp_timer.h b/tcp_timer.h index 7344c80..8ba1134 100644 --- a/tcp_timer.h +++ b/tcp_timer.h @@ -128,17 +128,12 @@ char *tcptimers[] = { "REXMT", "PERSIST", "KEEP", "2MSL" }; (tv) = (tvmax); \ } -extern int tcp_keepidle; /* time before keepalive probes begin */ -extern int tcp_keepintvl; /* time between keepalive probes */ -extern int tcp_maxidle; /* time to drop after starting probes */ -extern int tcp_ttl; /* time to live for TCP segs */ -extern int tcp_backoff[]; +extern const int tcp_backoff[]; struct tcpcb; void tcp_fasttimo _P((void)); void tcp_slowtimo _P((void)); void tcp_canceltimers _P((struct tcpcb *)); -struct tcpcb *tcp_timers _P((register struct tcpcb *, int)); #endif |