patch-pppd_fsm_c 1.0 KB

12345678910111213141516171819202122232425
  1. --- ppp-2.4.5.orig/pppd/fsm.c 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/pppd/fsm.c 2014-03-17 16:13:14.000000000 +0100
  3. @@ -57,14 +57,14 @@
  4. static const char rcsid[] = RCSID;
  5. -static void fsm_timeout __P((void *));
  6. -static void fsm_rconfreq __P((fsm *, int, u_char *, int));
  7. -static void fsm_rconfack __P((fsm *, int, u_char *, int));
  8. -static void fsm_rconfnakrej __P((fsm *, int, int, u_char *, int));
  9. -static void fsm_rtermreq __P((fsm *, int, u_char *, int));
  10. -static void fsm_rtermack __P((fsm *));
  11. -static void fsm_rcoderej __P((fsm *, u_char *, int));
  12. -static void fsm_sconfreq __P((fsm *, int));
  13. +static void fsm_timeout (void *);
  14. +static void fsm_rconfreq (fsm *, int, u_char *, int);
  15. +static void fsm_rconfack (fsm *, int, u_char *, int);
  16. +static void fsm_rconfnakrej (fsm *, int, int, u_char *, int);
  17. +static void fsm_rtermreq (fsm *, int, u_char *, int);
  18. +static void fsm_rtermack (fsm *);
  19. +static void fsm_rcoderej (fsm *, u_char *, int);
  20. +static void fsm_sconfreq (fsm *, int);
  21. #define PROTO_NAME(f) ((f)->callbacks->proto_name)