diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-20 21:47:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-20 21:47:37 +0000 |
commit | ff0f694d466fb114c185bf464811658f97d012f1 (patch) | |
tree | 1eef0becdabdf6a9902d265a84fc9bf9fd9389d5 /cpukit/libnetworking/netinet/tcp_subr.c | |
parent | changed version to 980820-BSD (diff) | |
download | rtems-ff0f694d466fb114c185bf464811658f97d012f1.tar.bz2 |
Fixed many warnings.
Diffstat (limited to 'cpukit/libnetworking/netinet/tcp_subr.c')
-rw-r--r-- | cpukit/libnetworking/netinet/tcp_subr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/libnetworking/netinet/tcp_subr.c b/cpukit/libnetworking/netinet/tcp_subr.c index e268e32f19..a9cde3fdf0 100644 --- a/cpukit/libnetworking/netinet/tcp_subr.c +++ b/cpukit/libnetworking/netinet/tcp_subr.c @@ -74,17 +74,19 @@ int tcp_mssdflt = TCP_MSS; SYSCTL_INT(_net_inet_tcp, TCPCTL_MSSDFLT, mssdflt, CTLFLAG_RW, &tcp_mssdflt , 0, ""); +static int tcp_do_rfc1323 = 1; +static int tcp_do_rfc1644 = 1; +#if !defined(__rtems__) static int tcp_rttdflt = TCPTV_SRTTDFLT / PR_SLOWHZ; SYSCTL_INT(_net_inet_tcp, TCPCTL_RTTDFLT, rttdflt, CTLFLAG_RW, &tcp_rttdflt , 0, ""); -static int tcp_do_rfc1323 = 1; SYSCTL_INT(_net_inet_tcp, TCPCTL_DO_RFC1323, rfc1323, CTLFLAG_RW, &tcp_do_rfc1323 , 0, ""); -static int tcp_do_rfc1644 = 1; SYSCTL_INT(_net_inet_tcp, TCPCTL_DO_RFC1644, rfc1644, CTLFLAG_RW, &tcp_do_rfc1644 , 0, ""); +#endif static void tcp_cleartaocache(void); static void tcp_notify __P((struct inpcb *, int)); |