From: Paul Mackerras Date: Mon, 19 Sep 1994 04:20:13 +0000 (+0000) Subject: use ppp_defs.h; stats now in a structure X-Git-Tag: RELEASE_2_3_6~854 X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=81de46bd284bb7b64857630c1d615ed9b0907e3e use ppp_defs.h; stats now in a structure --- diff --git a/modules/vjcompress.c b/modules/vjcompress.c index 80246dd..4b164b3 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.2 1994/09/19 04:20:13 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