]> git.ozlabs.org Git - ppp.git/commitdiff
fix minor compilation problems
authorPaul Mackerras <paulus@samba.org>
Tue, 4 Mar 1997 03:33:00 +0000 (03:33 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 4 Mar 1997 03:33:00 +0000 (03:33 +0000)
netbsd-1.1/if_ppp.c

index c4f12568e7b968649f7b572c18b777d494ae16bd..7a32ab406f7ecd6e6b4aa134c185fca08cbb63cf 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: if_ppp.c,v 1.5 1996/09/26 06:24:14 paulus Exp $    */
+/*     $Id: if_ppp.c,v 1.6 1997/03/04 03:33:00 paulus Exp $    */
 
 /*
  * if_ppp.c - Point-to-Point Protocol (PPP) Asynchronous driver.
 
 /*
  * if_ppp.c - Point-to-Point Protocol (PPP) Asynchronous driver.
 #include <net/ppp-comp.h>
 #endif
 
 #include <net/ppp-comp.h>
 #endif
 
+static int     pppsioctl __P((struct ifnet *, u_long, caddr_t));
+static int     pppoutput __P((struct ifnet *, struct mbuf *,
+                              struct sockaddr *, struct rtentry *));
 static void    ppp_requeue __P((struct ppp_softc *));
 static void    ppp_outpkt __P((struct ppp_softc *));
 static void    ppp_ccp __P((struct ppp_softc *, struct mbuf *m, int rcvd));
 static void    ppp_requeue __P((struct ppp_softc *));
 static void    ppp_outpkt __P((struct ppp_softc *));
 static void    ppp_ccp __P((struct ppp_softc *, struct mbuf *m, int rcvd));
@@ -529,7 +532,7 @@ pppioctl(sc, cmd, data, flag, p)
 /*
  * Process an ioctl request to the ppp network interface.
  */
 /*
  * Process an ioctl request to the ppp network interface.
  */
-int
+static int
 pppsioctl(ifp, cmd, data)
     register struct ifnet *ifp;
     u_long cmd;
 pppsioctl(ifp, cmd, data)
     register struct ifnet *ifp;
     u_long cmd;