summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-pppd_fsm_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/patch-pppd_fsm_c')
-rw-r--r--package/ppp/patches/patch-pppd_fsm_c25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/ppp/patches/patch-pppd_fsm_c b/package/ppp/patches/patch-pppd_fsm_c
new file mode 100644
index 000000000..098d101ee
--- /dev/null
+++ b/package/ppp/patches/patch-pppd_fsm_c
@@ -0,0 +1,25 @@
+--- ppp-2.4.5.orig/pppd/fsm.c 2009-11-16 23:26:07.000000000 +0100
++++ ppp-2.4.5/pppd/fsm.c 2014-03-17 16:13:14.000000000 +0100
+@@ -57,14 +57,14 @@
+
+ static const char rcsid[] = RCSID;
+
+-static void fsm_timeout __P((void *));
+-static void fsm_rconfreq __P((fsm *, int, u_char *, int));
+-static void fsm_rconfack __P((fsm *, int, u_char *, int));
+-static void fsm_rconfnakrej __P((fsm *, int, int, u_char *, int));
+-static void fsm_rtermreq __P((fsm *, int, u_char *, int));
+-static void fsm_rtermack __P((fsm *));
+-static void fsm_rcoderej __P((fsm *, u_char *, int));
+-static void fsm_sconfreq __P((fsm *, int));
++static void fsm_timeout (void *);
++static void fsm_rconfreq (fsm *, int, u_char *, int);
++static void fsm_rconfack (fsm *, int, u_char *, int);
++static void fsm_rconfnakrej (fsm *, int, int, u_char *, int);
++static void fsm_rtermreq (fsm *, int, u_char *, int);
++static void fsm_rtermack (fsm *);
++static void fsm_rcoderej (fsm *, u_char *, int);
++static void fsm_sconfreq (fsm *, int);
+
+ #define PROTO_NAME(f) ((f)->callbacks->proto_name)
+