summaryrefslogtreecommitdiffstats
path: root/sys/net/if_sl.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-08-30 00:33:22 +0000
committerbde <bde@FreeBSD.org>1995-08-30 00:33:22 +0000
commit005a25e2c241e35a57c76c177e6adcec99a51a17 (patch)
tree71c1bda7b39b1e37db21fd218aeac07f51bb42f8 /sys/net/if_sl.c
parent025e99bcd14fb33fb7a8d72bd6789a053eb511d5 (diff)
downloadFreeBSD-src-005a25e2c241e35a57c76c177e6adcec99a51a17.zip
FreeBSD-src-005a25e2c241e35a57c76c177e6adcec99a51a17.tar.gz
Fix several sysinit functions that had the wrong type and unnecessarily
external linkage. Remove useless comments saying that SYSINIT() does system initialization.
Diffstat (limited to 'sys/net/if_sl.c')
-rw-r--r--sys/net/if_sl.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c
index 0b33a2d..28e8305 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.27 1995/07/29 13:39:46 bde Exp $
+ * $Id: if_sl.c,v 1.28 1995/07/31 21:01:36 bde Exp $
*/
/*
@@ -110,6 +110,9 @@ Huh? Slip without inet?
#include <net/bpf.h>
#endif
+static void slattach __P((caddr_t));
+PSEUDO_SET(slattach, if_sl);
+
/*
* SLRMAX is a hard limit on input packet size. To simplify the code
* and improve performance, we require that packets fit in an mbuf
@@ -195,8 +198,9 @@ static struct linesw slipdisc =
/*
* Called from boot code to establish sl interfaces.
*/
-void
-slattach()
+static void
+slattach(udata)
+ caddr_t udata;
{
register struct sl_softc *sc;
register int i = 0;
@@ -222,8 +226,6 @@ slattach()
}
}
-PSEUDO_SET(slattach, if_sl);
-
static int
slinit(sc)
register struct sl_softc *sc;
OpenPOWER on IntegriCloud