From: Paul Mackerras Date: Wed, 4 Feb 1998 01:36:40 +0000 (+0000) Subject: make pppoutput global X-Git-Tag: RELEASE_2_3_6~135 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=bd88ff6bd52c2ed24d420a3be7bb9c51b9414bcc make pppoutput global --- diff --git a/freebsd-2.0/if_ppp.c b/freebsd-2.0/if_ppp.c index d9369d6..fc0fd69 100644 --- a/freebsd-2.0/if_ppp.c +++ b/freebsd-2.0/if_ppp.c @@ -69,7 +69,7 @@ * Paul Mackerras (paulus@cs.anu.edu.au). */ -/* $Id: if_ppp.c,v 1.12 1997/04/30 05:42:07 paulus Exp $ */ +/* $Id: if_ppp.c,v 1.13 1998/02/04 01:36:39 paulus Exp $ */ /* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */ /* from NetBSD: if_ppp.c,v 1.15.2.2 1994/07/28 05:17:58 cgd Exp */ @@ -131,8 +131,6 @@ #endif static int pppsioctl __P((struct ifnet *, int, 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_ccp __P((struct ppp_softc *, struct mbuf *m, int rcvd)); static void ppp_ccp_closed __P((struct ppp_softc *)); diff --git a/freebsd-2.0/if_pppvar.h b/freebsd-2.0/if_pppvar.h index 91e8e4e..7c3b97e 100644 --- a/freebsd-2.0/if_pppvar.h +++ b/freebsd-2.0/if_pppvar.h @@ -1,4 +1,4 @@ -/* $Id: if_pppvar.h,v 1.5 1997/04/30 05:42:08 paulus Exp $ */ +/* $Id: if_pppvar.h,v 1.6 1998/02/04 01:36:40 paulus Exp $ */ /* * if_pppvar.h - private structures and declarations for PPP. * @@ -101,6 +101,8 @@ struct ppp_softc ppp_softc[NPPP]; struct ppp_softc *pppalloc __P((pid_t pid)); void pppdealloc __P((struct ppp_softc *sc)); +int pppoutput __P((struct ifnet *, struct mbuf *, + struct sockaddr *, struct rtentry *)); int pppioctl __P((struct ppp_softc *sc, int cmd, caddr_t data, int flag, struct proc *p)); void ppp_restart __P((struct ppp_softc *sc));