Remove #if DO_DEFLATE
Remove #if DO_BSD_COMPRESS They are the wrong way to enable/disable features and undocumented to boot.
This commit is contained in:
parent
4a3bb59944
commit
a92ddba779
@ -52,7 +52,6 @@
|
||||
#define PACKETPTR struct mbuf *
|
||||
#include <net/ppp_comp.h>
|
||||
|
||||
#if DO_BSD_COMPRESS
|
||||
/*
|
||||
* PPP "BSD compress" compression
|
||||
* The differences between this compression and the classic BSD LZW
|
||||
@ -1110,4 +1109,3 @@ bsd_decompress(state, cmp, dmpp)
|
||||
return DECOMP_FATALERROR;
|
||||
#endif /* DEBUG */
|
||||
}
|
||||
#endif /* DO_BSD_COMPRESS */
|
||||
|
@ -39,8 +39,6 @@
|
||||
#define PACKETPTR struct mbuf *
|
||||
#include <net/ppp_comp.h>
|
||||
|
||||
#if DO_DEFLATE
|
||||
|
||||
#define DEFLATE_DEBUG 1
|
||||
|
||||
/*
|
||||
@ -676,5 +674,3 @@ z_incomp(arg, mi)
|
||||
state->stats.unc_bytes += rlen;
|
||||
state->stats.unc_packets++;
|
||||
}
|
||||
|
||||
#endif /* DO_DEFLATE */
|
||||
|
Loading…
Reference in New Issue
Block a user