summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-modules_ppp_ahdlc_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/patch-modules_ppp_ahdlc_c')
-rw-r--r--package/ppp/patches/patch-modules_ppp_ahdlc_c19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/ppp/patches/patch-modules_ppp_ahdlc_c b/package/ppp/patches/patch-modules_ppp_ahdlc_c
new file mode 100644
index 000000000..93ad5795a
--- /dev/null
+++ b/package/ppp/patches/patch-modules_ppp_ahdlc_c
@@ -0,0 +1,19 @@
+--- ppp-2.4.5.orig/modules/ppp_ahdlc.c 2009-11-16 23:26:07.000000000 +0100
++++ ppp-2.4.5/modules/ppp_ahdlc.c 2014-03-17 16:13:07.000000000 +0100
+@@ -107,11 +107,11 @@ typedef unsigned int uintpoin
+
+ MOD_OPEN_DECL(ahdlc_open);
+ MOD_CLOSE_DECL(ahdlc_close);
+-static int ahdlc_wput __P((queue_t *, mblk_t *));
+-static int ahdlc_rput __P((queue_t *, mblk_t *));
+-static void ahdlc_encode __P((queue_t *, mblk_t *));
+-static void ahdlc_decode __P((queue_t *, mblk_t *));
+-static int msg_byte __P((mblk_t *, unsigned int));
++static int ahdlc_wput (queue_t *, mblk_t *);
++static int ahdlc_rput (queue_t *, mblk_t *);
++static void ahdlc_encode (queue_t *, mblk_t *);
++static void ahdlc_decode (queue_t *, mblk_t *);
++static int msg_byte (mblk_t *, unsigned int);
+
+ #if defined(SOL2)
+ /*