diff options
author | bde <bde@FreeBSD.org> | 1995-11-16 10:10:50 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-16 10:10:50 +0000 |
commit | fa050e26ee3df4e510499607bb52e6fc0beeef09 (patch) | |
tree | a5cec37849053621f3c1ab5a0a79cc70ed7d7aa5 /sys/gnu | |
parent | b87785185d2691242fb1017105a79f983685d32b (diff) | |
download | FreeBSD-src-fa050e26ee3df4e510499607bb52e6fc0beeef09.zip FreeBSD-src-fa050e26ee3df4e510499607bb52e6fc0beeef09.tar.gz |
Fixed the types of iioutput() and ii_input(). Trailing args were missing.
Completed function declarations.
Diffstat (limited to 'sys/gnu')
-rw-r--r-- | sys/gnu/isdn/if_ii.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/sys/gnu/isdn/if_ii.c b/sys/gnu/isdn/if_ii.c index 280023d..8260d21 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; |