diff options
Diffstat (limited to 'usr.sbin/ppp/vjcomp.c')
-rw-r--r-- | usr.sbin/ppp/vjcomp.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/ppp/vjcomp.c b/usr.sbin/ppp/vjcomp.c index 1445bbd..f9ef60d 100644 --- a/usr.sbin/ppp/vjcomp.c +++ b/usr.sbin/ppp/vjcomp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: vjcomp.c,v 1.14 1997/12/03 10:23:54 brian Exp $ + * $Id: vjcomp.c,v 1.15 1998/01/11 17:50:46 brian Exp $ * * TODO: */ @@ -32,7 +32,6 @@ #include "command.h" #include "mbuf.h" #include "log.h" -#include "defs.h" #include "timer.h" #include "fsm.h" #include "lcpproto.h" @@ -43,7 +42,7 @@ #define MAX_VJHEADER 16 /* Maximum size of compressed header */ -struct slcompress cslc; +static struct slcompress cslc; void VjInit(int max_state) @@ -103,7 +102,7 @@ VjUncompressTcp(struct mbuf * bp, u_char type) len = sl_uncompress_tcp(&bufp, len, type, &cslc); if (len <= 0) { pfree(bp); - bp = NULLBUFF; + bp = NULL; } return (bp); } @@ -121,7 +120,7 @@ VjUncompressTcp(struct mbuf * bp, u_char type) len = sl_uncompress_tcp(&bufp, olen, type, &cslc); if (len <= 0) { pfree(bp); - return NULLBUFF; + return NULL; } len -= olen; len += rlen; |