diff options
author | bde <bde@FreeBSD.org> | 1995-12-03 19:08:55 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-03 19:08:55 +0000 |
commit | 494ccac3da0e1adf5311194bc7cb81e5548214ec (patch) | |
tree | 6116f50d48e343e253cf77476445bcfb367e16c4 | |
parent | 103688f7d6f2c0e8630923a5428f39896b7937bd (diff) | |
download | FreeBSD-src-494ccac3da0e1adf5311194bc7cb81e5548214ec.zip FreeBSD-src-494ccac3da0e1adf5311194bc7cb81e5548214ec.tar.gz |
Added a prototype.
Declared dsioctl() as static consistently. Note that both if_disc.c
and subr_diskslice.c use the same prefix `ds' and there is a name
conflict for dsioctl().
-rw-r--r-- | sys/net/if_disc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_disc.c b/sys/net/if_disc.c index 9a2ba0e..2d4b654 100644 --- a/sys/net/if_disc.c +++ b/sys/net/if_disc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * From: @(#)if_loop.c 8.1 (Berkeley) 6/10/93 - * $Id: if_disc.c,v 1.8 1995/10/29 15:31:59 phk Exp $ + * $Id: if_disc.c,v 1.9 1995/12/02 17:11:09 bde Exp $ */ /* @@ -86,6 +86,7 @@ PSEUDO_SET(discattach, if_disc); static struct ifnet dsif; static int dsoutput(struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry *); +static void dsrtrequest(int cmd, struct rtentry *rt, struct sockaddr *sa); static int dsioctl(struct ifnet *, int, caddr_t); /* ARGSUSED */ @@ -175,7 +176,7 @@ dsrtrequest(cmd, rt, sa) * Process an ioctl request. */ /* ARGSUSED */ -int +static int dsioctl(ifp, cmd, data) register struct ifnet *ifp; int cmd; |