X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsys-bsd.c;h=709fe99cee831a0bca8591bd99310dd816bd3ced;hb=b07a2a0e2055cb2ba2b3addd5c50f2c9682a0777;hp=20404c07ec2ac5ad096238286ea7502f07e987f9;hpb=f97ca9765d35deddd325ba7b82b437fab22112dd;p=ppp.git diff --git a/pppd/sys-bsd.c b/pppd/sys-bsd.c index 20404c0..709fe99 100644 --- a/pppd/sys-bsd.c +++ b/pppd/sys-bsd.c @@ -19,7 +19,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: sys-bsd.c,v 1.4 1994/04/18 04:09:27 paulus Exp $"; +static char rcsid[] = "$Id: sys-bsd.c,v 1.6 1994/05/24 11:27:56 paulus Exp $"; #endif /* @@ -43,7 +43,7 @@ static char rcsid[] = "$Id: sys-bsd.c,v 1.4 1994/04/18 04:09:27 paulus Exp $"; #include "ppp.h" static int initdisc = -1; /* Initial TTY discipline */ - +extern int kdebugflag; /* * establish_ppp - Turn the serial port into a ppp interface. @@ -282,6 +282,7 @@ sifvjcomp(u, vjcomp, cidcomp, maxcid) */ int sifup(u) + int u; { struct ifreq ifr; u_int x; @@ -313,6 +314,7 @@ sifup(u) */ int sifdown(u) + int u; { struct ifreq ifr; u_int x; @@ -357,6 +359,8 @@ sifdown(u) */ int sifaddr(u, o, h, m) + int u; + u_long o, h, m; { struct ifaliasreq ifra; @@ -386,6 +390,8 @@ sifaddr(u, o, h, m) */ int cifaddr(u, o, h) + int u; + u_long o, h; { struct ifaliasreq ifra; @@ -407,6 +413,8 @@ cifaddr(u, o, h) */ int sifdefaultroute(u, g) + int u; + u_long g; { struct ortentry rt; @@ -426,6 +434,8 @@ sifdefaultroute(u, g) */ int cifdefaultroute(u, g) + int u; + u_long g; { struct ortentry rt;