fixes for picky C compilers
authorPaul Mackerras <paulus@samba.org>
Thu, 26 Sep 1996 06:20:52 +0000 (06:20 +0000)
committerPaul Mackerras <paulus@samba.org>
Thu, 26 Sep 1996 06:20:52 +0000 (06:20 +0000)
pppd/ccp.c

index f4d00eb031e05bff8786ed600057e6902ef423ff..bced7ca713c5b782bb84329a4061b89e8fd4ccc9 100644 (file)
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: ccp.c,v 1.18 1996/09/14 05:14:36 paulus Exp $";
+static char rcsid[] = "$Id: ccp.c,v 1.19 1996/09/26 06:20:52 paulus Exp $";
 #endif
 
 #include <string.h>
 #include <syslog.h>
 #include <sys/ioctl.h>
+#include <sys/types.h>
+#include <net/ppp_defs.h>
 #include <net/ppp-comp.h>
 
 #include "pppd.h"
@@ -163,7 +165,7 @@ ccp_init(unit)
 /*
  * ccp_open - CCP is allowed to come up.
  */
-void
+static void
 ccp_open(unit)
     int unit;
 {
@@ -991,7 +993,7 @@ ccp_printpkt(p, plen, printer, arg)
  * decompression; if it was, we take CCP down, thus disabling
  * compression :-(, otherwise we issue the reset-request.
  */
-void
+static void
 ccp_datainput(unit, pkt, len)
     int unit;
     u_char *pkt;