X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=modules%2Fvjcompress.c;h=dd633512b9b9abdf56958f6d086b7aed46d86d57;hp=80246ddc443301b2cb16af74e14bf4d313ef9554;hb=13db890cb73cbd7842ed6d0bae7d809792ff9906;hpb=a9de09991f0cc67879a9bb33f6d553d8c291aaf8 diff --git a/modules/vjcompress.c b/modules/vjcompress.c index 80246dd..dd63351 100644 --- a/modules/vjcompress.c +++ b/modules/vjcompress.c @@ -24,7 +24,7 @@ * so that the entire packet being decompressed doesn't have * to be in contiguous memory (just the compressed header). * - * $Id: vjcompress.c,v 1.1 1994/09/16 06:58:24 paulus Exp $ + * $Id: vjcompress.c,v 1.3 1994/11/30 05:31:00 paulus Exp $ */ #include @@ -34,16 +34,11 @@ #include #include -#ifdef __STDC__ -#define __P(x) x -#else -#define __P() () -#endif - +#include #include #ifndef VJ_NO_STATS -#define INCR(counter) ++comp->counter +#define INCR(counter) ++comp->stats.counter #else #define INCR(counter) #endif @@ -443,7 +438,6 @@ vj_uncompress_tcp(buf, buflen, total_len, comp, hdrp, hlenp) register u_int hlen, changes; register struct tcphdr *th; register struct cstate *cs; - register struct ip *ip; register u_short *bp; register u_int vjlen;