patch-include_net_slcompress_h 1.0 KB

12345678910111213141516171819202122
  1. --- ppp-2.4.5.orig/include/net/slcompress.h 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/include/net/slcompress.h 2014-03-17 16:13:06.000000000 +0100
  3. @@ -137,12 +137,12 @@ struct slcompress {
  4. /* flag values */
  5. #define SLF_TOSS 1 /* tossing rcvd frames because of input err */
  6. -void sl_compress_init __P((struct slcompress *));
  7. -void sl_compress_setup __P((struct slcompress *, int));
  8. -u_int sl_compress_tcp __P((struct mbuf *,
  9. - struct ip *, struct slcompress *, int));
  10. -int sl_uncompress_tcp __P((u_char **, int, u_int, struct slcompress *));
  11. -int sl_uncompress_tcp_core __P((u_char *, int, int, u_int,
  12. - struct slcompress *, u_char **, u_int *));
  13. +void sl_compress_init (struct slcompress *);
  14. +void sl_compress_setup (struct slcompress *, int);
  15. +u_int sl_compress_tcp (struct mbuf *,
  16. + struct ip *, struct slcompress *, int);
  17. +int sl_uncompress_tcp (u_char **, int, u_int, struct slcompress *);
  18. +int sl_uncompress_tcp_core (u_char *, int, int, u_int,
  19. + struct slcompress *, u_char **, u_int *);
  20. #endif /* _SLCOMPRESS_H_ */