X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsys-linux.c;h=a40d00c1926908575f1e12a23d35bec32d6596e6;hb=50967962addebe15c7a7e63116ff46a0441dc464;hp=a0af43b4e368f3a10b44f93c5b51d3ddf26c4a7c;hpb=fafbe50251efc7d6b4a8be652d085316e112b34f;p=ppp.git diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index a0af43b..a40d00c 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -240,6 +240,7 @@ static void decode_version (char *buf, int *version, int *mod, int *patch); static int set_kdebugflag(int level); static int ppp_registered(void); static int make_ppp_unit(void); +static int setifstate (int u, int state); extern u_char inpacket_buf[]; /* borrowed from main.c */ @@ -2321,7 +2322,7 @@ int sif6down (int u) * setifstate - Config the interface up or down */ -int setifstate (int u, int state) +static int setifstate (int u, int state) { struct ifreq ifr;