1
0

patch-pppd_utils_c 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --- ppp-2.4.5.orig/pppd/utils.c 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/pppd/utils.c 2014-03-17 16:13:14.000000000 +0100
  3. @@ -65,11 +65,11 @@ static const char rcsid[] = RCSID;
  4. extern char *strerror();
  5. #endif
  6. -static void logit __P((int, char *, va_list));
  7. -static void log_write __P((int, char *));
  8. -static void vslp_printer __P((void *, char *, ...));
  9. -static void format_packet __P((u_char *, int, void (*) (void *, char *, ...),
  10. - void *));
  11. +static void logit (int, char *, va_list);
  12. +static void log_write (int, char *);
  13. +static void vslp_printer (void *, char *, ...);
  14. +static void format_packet (u_char *, int, void (*) (void *, char *, ...),
  15. + void *);
  16. struct buffer_info {
  17. char *ptr;
  18. @@ -475,7 +475,7 @@ static void
  19. format_packet(p, len, printer, arg)
  20. u_char *p;
  21. int len;
  22. - void (*printer) __P((void *, char *, ...));
  23. + void (*printer) (void *, char *, ...);
  24. void *arg;
  25. {
  26. int i, n;
  27. @@ -613,7 +613,7 @@ void
  28. print_string(p, len, printer, arg)
  29. char *p;
  30. int len;
  31. - void (*printer) __P((void *, char *, ...));
  32. + void (*printer) (void *, char *, ...);
  33. void *arg;
  34. {
  35. int c;