patch-pppstats_pppstats_c 754 B

12345678910111213141516171819202122
  1. --- ppp-2.4.5.orig/pppstats/pppstats.c 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/pppstats/pppstats.c 2014-03-17 16:13:07.000000000 +0100
  3. @@ -107,13 +107,13 @@ extern char *optarg;
  4. #define PPP_DRV_NAME "ppp"
  5. #endif /* !defined(PPP_DRV_NAME) */
  6. -static void usage __P((void));
  7. -static void catchalarm __P((int));
  8. -static void get_ppp_stats __P((struct ppp_stats *));
  9. -static void get_ppp_cstats __P((struct ppp_comp_stats *));
  10. -static void intpr __P((void));
  11. +static void usage (void);
  12. +static void catchalarm (int);
  13. +static void get_ppp_stats (struct ppp_stats *);
  14. +static void get_ppp_cstats (struct ppp_comp_stats *);
  15. +static void intpr (void);
  16. -int main __P((int, char *argv[]));
  17. +int main (int, char *argv[]);
  18. static void
  19. usage()