patch-pppd_multilink_c 969 B

12345678910111213141516171819202122
  1. --- ppp-2.4.5.orig/pppd/multilink.c 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/pppd/multilink.c 2014-03-17 16:13:15.000000000 +0100
  3. @@ -50,13 +50,13 @@ bool multilink_master; /* we own the mu
  4. extern TDB_CONTEXT *pppdb;
  5. extern char db_key[];
  6. -static void make_bundle_links __P((int append));
  7. -static void remove_bundle_link __P((void));
  8. -static void iterate_bundle_links __P((void (*func) __P((char *))));
  9. +static void make_bundle_links (int append);
  10. +static void remove_bundle_link (void);
  11. +static void iterate_bundle_links (void (*func) __P((char *)));
  12. -static int get_default_epdisc __P((struct epdisc *));
  13. -static int parse_num __P((char *str, const char *key, int *valp));
  14. -static int owns_unit __P((TDB_DATA pid, int unit));
  15. +static int get_default_epdisc (struct epdisc *);
  16. +static int parse_num (char *str, const char *key, int *valp);
  17. +static int owns_unit (TDB_DATA pid, int unit);
  18. #define set_ip_epdisc(ep, addr) do { \
  19. ep->length = 4; \