summaryrefslogtreecommitdiff
path: root/pppd/ccp.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1996-09-26 06:20:52 +0000
committerPaul Mackerras <paulus@samba.org>1996-09-26 06:20:52 +0000
commit56032135a20e3d969856c226efad6e2920642612 (patch)
tree3b72184cd2fbd558e8f7fdfd1b5800cea7a66830 /pppd/ccp.c
parent7f5ffc23483f75a14f6db53df479518ca793ff23 (diff)
downloadppp-56032135a20e3d969856c226efad6e2920642612.tar.gz
fixes for picky C compilers
Diffstat (limited to 'pppd/ccp.c')
-rw-r--r--pppd/ccp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/pppd/ccp.c b/pppd/ccp.c
index f4d00eb..bced7ca 100644
--- a/pppd/ccp.c
+++ b/pppd/ccp.c
@@ -26,12 +26,14 @@
*/
#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;