From 289f11acb49b6dbb3081e09bf94a86f008f55814 Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 16 Mar 1995 18:17:34 +0000 Subject: Add and move declarations to fix all of the warnings from `gcc -Wimplicit' (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones. --- sys/netinet/tcp_usrreq.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'sys/netinet/tcp_usrreq.c') diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 0b39e82..9a412b5 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * From: @(#)tcp_usrreq.c 8.2 (Berkeley) 1/3/94 - * $Id: tcp_usrreq.c,v 1.10 1995/02/16 01:42:45 wollman Exp $ + * $Id: tcp_usrreq.c,v 1.11 1995/02/17 00:29:42 wollman Exp $ */ #include @@ -44,6 +44,8 @@ #include #include #include +#include +#include #include #include @@ -52,6 +54,7 @@ #include #include #include +#include #include #include #include @@ -673,11 +676,6 @@ tcp_sysctl(name, namelen, oldp, oldlenp, newp, newlen) void *newp; size_t newlen; { - extern int tcp_do_rfc1323; /* XXX */ - extern int tcp_do_rfc1644; /* XXX */ - extern int tcp_mssdflt; /* XXX */ - extern int tcp_rttdflt; /* XXX */ - /* All sysctl names at this level are terminal. */ if (namelen != 1) return (ENOTDIR); -- cgit v1.1