summaryrefslogtreecommitdiffstats
path: root/sys/net/if_sl.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-03-16 18:17:34 +0000
committerbde <bde@FreeBSD.org>1995-03-16 18:17:34 +0000
commit289f11acb49b6dbb3081e09bf94a86f008f55814 (patch)
treee4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/net/if_sl.c
parent4c4945abee9eabe3a2be340ba973ae861c21a3c6 (diff)
downloadFreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.zip
FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.tar.gz
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.
Diffstat (limited to 'sys/net/if_sl.c')
-rw-r--r--sys/net/if_sl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c
index 323d52c..6a92ff5 100644
--- a/sys/net/if_sl.c
+++ b/sys/net/if_sl.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_sl.c 8.6 (Berkeley) 2/1/94
- * $Id: if_sl.c,v 1.11 1994/11/27 15:29:57 bde Exp $
+ * $Id: if_sl.c,v 1.12 1995/02/13 02:09:14 ache Exp $
*/
/*
@@ -80,6 +80,7 @@
#include <sys/ioctl.h>
#include <sys/file.h>
#include <sys/tty.h>
+#include <sys/clist.h>
#include <sys/kernel.h>
#include <sys/conf.h>
@@ -439,7 +440,6 @@ slstart(tp)
u_char bpfbuf[SLTMAX + SLIP_HDRLEN];
register int len = 0;
#endif
- extern int cfreecount;
for (;;) {
/*
OpenPOWER on IntegriCloud