summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-pppd_chap-new_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/patch-pppd_chap-new_c')
-rw-r--r--package/ppp/patches/patch-pppd_chap-new_c20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/ppp/patches/patch-pppd_chap-new_c b/package/ppp/patches/patch-pppd_chap-new_c
new file mode 100644
index 000000000..fec9acbed
--- /dev/null
+++ b/package/ppp/patches/patch-pppd_chap-new_c
@@ -0,0 +1,20 @@
+--- ppp-2.4.5.orig/pppd/chap-new.c 2009-11-16 23:26:07.000000000 +0100
++++ ppp-2.4.5/pppd/chap-new.c 2014-03-17 16:13:14.000000000 +0100
+@@ -129,7 +129,7 @@ static void chap_handle_status(struct ch
+ static void chap_protrej(int unit);
+ static void chap_input(int unit, unsigned char *pkt, int pktlen);
+ static int chap_print_pkt(unsigned char *p, int plen,
+- void (*printer) __P((void *, char *, ...)), void *arg);
++ void (*printer) (void *, char *, ...), void *arg);
+
+ /* List of digest types that we know about */
+ static struct chap_digest_type *chap_digests;
+@@ -584,7 +584,7 @@ static char *chap_code_names[] = {
+
+ static int
+ chap_print_pkt(unsigned char *p, int plen,
+- void (*printer) __P((void *, char *, ...)), void *arg)
++ void (*printer) (void *, char *, ...), void *arg)
+ {
+ int code, id, len;
+ int clen, nlen;