From 2be930096567c2eebecc03c1a6689b86cd1f40ab Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 16 Nov 1995 10:10:50 +0000 Subject: Fixed the types of iioutput() and ii_input(). Trailing args were missing. Completed function declarations. --- sys/gnu/isdn/if_ii.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'sys/gnu') diff --git a/sys/gnu/isdn/if_ii.c b/sys/gnu/isdn/if_ii.c index 280023d017a6..8260d2109c34 100644 --- a/sys/gnu/isdn/if_ii.c +++ b/sys/gnu/isdn/if_ii.c @@ -1,6 +1,6 @@ -static char _if_iiid[] = "@(#)$Id: if_ii.c,v 1.2 1995/02/15 06:28:26 jkh Exp $"; +static char _if_iiid[] = "@(#)$Id: if_ii.c,v 1.3 1995/05/30 07:58:00 rgrimes Exp $"; /******************************************************************************* - * II - Version 0.1 $Revision: 1.2 $ $State: Exp $ + * II - Version 0.1 $Revision: 1.3 $ $State: Exp $ * * Copyright 1994 Dietmar Friede ******************************************************************************* @@ -10,6 +10,9 @@ static char _if_iiid[] = "@(#)$Id: if_ii.c,v 1.2 1995/02/15 06:28:26 jkh Exp * ******************************************************************************* * $Log: if_ii.c,v $ + * Revision 1.3 1995/05/30 07:58:00 rgrimes + * Remove trailing whitespace. + * * Revision 1.2 1995/02/15 06:28:26 jkh * Fix up include paths, nuke some warnings. * @@ -62,7 +65,10 @@ static char _if_iiid[] = "@(#)$Id: if_ii.c,v 1.2 1995/02/15 06:28:26 jkh Exp static struct ifnet ii_if[NII]; static int applnr[NII]; static int next_if = 0; -int iioutput(), ii_ioctl(); + +extern int ii_ioctl __P((struct ifnet *ifp, int cmd, caddr_t data)); +extern int iioutput __P((struct ifnet *ifp, struct mbuf *m, + struct sockaddr *dst, struct rtentry *rtp)); int iiattach(int ap) @@ -90,7 +96,8 @@ iiattach(int ap) } int -iioutput(struct ifnet * ifp, struct mbuf * m, struct sockaddr * dst) +iioutput(struct ifnet * ifp, struct mbuf * m, struct sockaddr * dst, + struct rtentry * rtp) { int s, isr; register struct ifqueue *ifq = 0; @@ -121,7 +128,7 @@ iioutput(struct ifnet * ifp, struct mbuf * m, struct sockaddr * dst) } int -ii_input(int no, int len, char *buf) +ii_input(int no, int len, char *buf, int dir) { int error = 0; struct mbuf *m; -- cgit v1.3