summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-pppdump_ppp-comp_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-17 16:39:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-17 16:39:18 +0100
commit58a0648738fc9e3454b526473cb8355af1e32925 (patch)
tree7872c06d161a353a9c45d0f3533701d79555daef /package/ppp/patches/patch-pppdump_ppp-comp_h
parent0e00f45497ec1762b903fc07162d8d32452a1252 (diff)
enable musl build, patches via lua script from alpinelinux
Diffstat (limited to 'package/ppp/patches/patch-pppdump_ppp-comp_h')
-rw-r--r--package/ppp/patches/patch-pppdump_ppp-comp_h33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/ppp/patches/patch-pppdump_ppp-comp_h b/package/ppp/patches/patch-pppdump_ppp-comp_h
new file mode 100644
index 000000000..ce9da513c
--- /dev/null
+++ b/package/ppp/patches/patch-pppdump_ppp-comp_h
@@ -0,0 +1,33 @@
+--- ppp-2.4.5.orig/pppdump/ppp-comp.h 2009-11-16 23:26:07.000000000 +0100
++++ ppp-2.4.5/pppdump/ppp-comp.h 2014-03-17 16:13:08.000000000 +0100
+@@ -58,21 +58,21 @@ struct compressor {
+ int compress_proto; /* CCP compression protocol number */
+
+ /* Allocate space for a decompressor (receive side) */
+- void *(*decomp_alloc) __P((u_char *options, int opt_len));
++ void *(*decomp_alloc) (u_char *options, int opt_len);
+ /* Free space used by a decompressor */
+- void (*decomp_free) __P((void *state));
++ void (*decomp_free) (void *state);
+ /* Initialize a decompressor */
+- int (*decomp_init) __P((void *state, u_char *options, int opt_len,
+- int unit, int hdrlen, int mru, int debug));
++ int (*decomp_init) (void *state, u_char *options, int opt_len,
++ int unit, int hdrlen, int mru, int debug);
+ /* Reset a decompressor */
+- void (*decomp_reset) __P((void *state));
++ void (*decomp_reset) (void *state);
+ /* Decompress a packet. */
+- int (*decompress) __P((void *state, u_char *mp, int inlen,
+- u_char *dmp, int *outlen));
++ int (*decompress) (void *state, u_char *mp, int inlen,
++ u_char *dmp, int *outlen);
+ /* Update state for an incompressible packet received */
+- void (*incomp) __P((void *state, u_char *mp, int len));
++ void (*incomp) (void *state, u_char *mp, int len);
+ /* Return decompression statistics */
+- void (*decomp_stat) __P((void *state, struct compstat *stats));
++ void (*decomp_stat) (void *state, struct compstat *stats);
+ };
+
+ /*