From 494ccac3da0e1adf5311194bc7cb81e5548214ec Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 3 Dec 1995 19:08:55 +0000 Subject: 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(). --- sys/net/if_disc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/net/if_disc.c') 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; -- cgit v1.1