summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-modules_ppp_comp_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/patch-modules_ppp_comp_c')
-rw-r--r--package/ppp/patches/patch-modules_ppp_comp_c30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/ppp/patches/patch-modules_ppp_comp_c b/package/ppp/patches/patch-modules_ppp_comp_c
new file mode 100644
index 000000000..944d0d80f
--- /dev/null
+++ b/package/ppp/patches/patch-modules_ppp_comp_c
@@ -0,0 +1,30 @@
+--- ppp-2.4.5.orig/modules/ppp_comp.c 2009-11-16 23:26:07.000000000 +0100
++++ ppp-2.4.5/modules/ppp_comp.c 2014-03-17 16:13:07.000000000 +0100
+@@ -74,12 +74,12 @@
+
+ MOD_OPEN_DECL(ppp_comp_open);
+ MOD_CLOSE_DECL(ppp_comp_close);
+-static int ppp_comp_rput __P((queue_t *, mblk_t *));
+-static int ppp_comp_rsrv __P((queue_t *));
+-static int ppp_comp_wput __P((queue_t *, mblk_t *));
+-static int ppp_comp_wsrv __P((queue_t *));
+-static void ppp_comp_ccp __P((queue_t *, mblk_t *, int));
+-static int msg_byte __P((mblk_t *, unsigned int));
++static int ppp_comp_rput (queue_t *, mblk_t *);
++static int ppp_comp_rsrv (queue_t *);
++static int ppp_comp_wput (queue_t *, mblk_t *);
++static int ppp_comp_wsrv (queue_t *);
++static void ppp_comp_ccp (queue_t *, mblk_t *, int);
++static int msg_byte (mblk_t *, unsigned int);
+
+ /* Extract byte i of message mp. */
+ #define MSG_BYTE(mp, i) ((i) < (mp)->b_wptr - (mp)->b_rptr? (mp)->b_rptr[i]: \
+@@ -118,7 +118,7 @@ int ppp_comp_count; /* number of module
+
+ #ifdef __osf__
+
+-static void ppp_comp_alloc __P((comp_state_t *));
++static void ppp_comp_alloc (comp_state_t *);
+ typedef struct memreq {
+ unsigned char comp_opts[20];
+ int cmd;