patch-pppdump_ppp-comp_h 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. --- ppp-2.4.5.orig/pppdump/ppp-comp.h 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/pppdump/ppp-comp.h 2014-03-17 16:13:08.000000000 +0100
  3. @@ -58,21 +58,21 @@ struct compressor {
  4. int compress_proto; /* CCP compression protocol number */
  5. /* Allocate space for a decompressor (receive side) */
  6. - void *(*decomp_alloc) __P((u_char *options, int opt_len));
  7. + void *(*decomp_alloc) (u_char *options, int opt_len);
  8. /* Free space used by a decompressor */
  9. - void (*decomp_free) __P((void *state));
  10. + void (*decomp_free) (void *state);
  11. /* Initialize a decompressor */
  12. - int (*decomp_init) __P((void *state, u_char *options, int opt_len,
  13. - int unit, int hdrlen, int mru, int debug));
  14. + int (*decomp_init) (void *state, u_char *options, int opt_len,
  15. + int unit, int hdrlen, int mru, int debug);
  16. /* Reset a decompressor */
  17. - void (*decomp_reset) __P((void *state));
  18. + void (*decomp_reset) (void *state);
  19. /* Decompress a packet. */
  20. - int (*decompress) __P((void *state, u_char *mp, int inlen,
  21. - u_char *dmp, int *outlen));
  22. + int (*decompress) (void *state, u_char *mp, int inlen,
  23. + u_char *dmp, int *outlen);
  24. /* Update state for an incompressible packet received */
  25. - void (*incomp) __P((void *state, u_char *mp, int len));
  26. + void (*incomp) (void *state, u_char *mp, int len);
  27. /* Return decompression statistics */
  28. - void (*decomp_stat) __P((void *state, struct compstat *stats));
  29. + void (*decomp_stat) (void *state, struct compstat *stats);
  30. };
  31. /*