]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-linux.c
pppd: Add declarations to eliminate compile warnings
[ppp.git] / pppd / sys-linux.c
index a0af43b4e368f3a10b44f93c5b51d3ddf26c4a7c..a40d00c1926908575f1e12a23d35bec32d6596e6 100644 (file)
@@ -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;