summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-pppd_magic_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/patch-pppd_magic_c')
-rw-r--r--package/ppp/patches/patch-pppd_magic_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/ppp/patches/patch-pppd_magic_c b/package/ppp/patches/patch-pppd_magic_c
new file mode 100644
index 000000000..073619eac
--- /dev/null
+++ b/package/ppp/patches/patch-pppd_magic_c
@@ -0,0 +1,13 @@
+--- ppp-2.4.5.orig/pppd/magic.c 2009-11-16 23:26:07.000000000 +0100
++++ ppp-2.4.5/pppd/magic.c 2014-03-17 16:13:14.000000000 +0100
+@@ -53,8 +53,8 @@
+
+ static const char rcsid[] = RCSID;
+
+-extern long mrand48 __P((void));
+-extern void srand48 __P((long));
++extern long mrand48 (void);
++extern void srand48 (long);
+
+ /*
+ * magic_init - Initialize the magic number generator.