summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-pppd_multilink_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/patch-pppd_multilink_c')
-rw-r--r--package/ppp/patches/patch-pppd_multilink_c22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/ppp/patches/patch-pppd_multilink_c b/package/ppp/patches/patch-pppd_multilink_c
new file mode 100644
index 000000000..511a80cae
--- /dev/null
+++ b/package/ppp/patches/patch-pppd_multilink_c
@@ -0,0 +1,22 @@
+--- ppp-2.4.5.orig/pppd/multilink.c 2009-11-16 23:26:07.000000000 +0100
++++ ppp-2.4.5/pppd/multilink.c 2014-03-17 16:13:15.000000000 +0100
+@@ -50,13 +50,13 @@ bool multilink_master; /* we own the mu
+ extern TDB_CONTEXT *pppdb;
+ extern char db_key[];
+
+-static void make_bundle_links __P((int append));
+-static void remove_bundle_link __P((void));
+-static void iterate_bundle_links __P((void (*func) __P((char *))));
++static void make_bundle_links (int append);
++static void remove_bundle_link (void);
++static void iterate_bundle_links (void (*func) __P((char *)));
+
+-static int get_default_epdisc __P((struct epdisc *));
+-static int parse_num __P((char *str, const char *key, int *valp));
+-static int owns_unit __P((TDB_DATA pid, int unit));
++static int get_default_epdisc (struct epdisc *);
++static int parse_num (char *str, const char *key, int *valp);
++static int owns_unit (TDB_DATA pid, int unit);
+
+ #define set_ip_epdisc(ep, addr) do { \
+ ep->length = 4; \