]> git.ozlabs.org Git - ppp.git/blobdiff - modules/vjcompress.c
removed unnecessary variable
[ppp.git] / modules / vjcompress.c
index 80246ddc443301b2cb16af74e14bf4d313ef9554..dd633512b9b9abdf56958f6d086b7aed46d86d57 100644 (file)
@@ -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 <sys/types.h>
 #include <netinet/ip.h>
 #include <netinet/tcp.h>
 
-#ifdef __STDC__
-#define __P(x) x
-#else
-#define __P()  ()
-#endif
-
+#include <net/ppp_defs.h>
 #include <net/vjcompress.h>
 
 #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;