patch-pppd_chap-new_c 844 B

1234567891011121314151617181920
  1. --- ppp-2.4.5.orig/pppd/chap-new.c 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/pppd/chap-new.c 2014-03-17 16:13:14.000000000 +0100
  3. @@ -129,7 +129,7 @@ static void chap_handle_status(struct ch
  4. static void chap_protrej(int unit);
  5. static void chap_input(int unit, unsigned char *pkt, int pktlen);
  6. static int chap_print_pkt(unsigned char *p, int plen,
  7. - void (*printer) __P((void *, char *, ...)), void *arg);
  8. + void (*printer) (void *, char *, ...), void *arg);
  9. /* List of digest types that we know about */
  10. static struct chap_digest_type *chap_digests;
  11. @@ -584,7 +584,7 @@ static char *chap_code_names[] = {
  12. static int
  13. chap_print_pkt(unsigned char *p, int plen,
  14. - void (*printer) __P((void *, char *, ...)), void *arg)
  15. + void (*printer) (void *, char *, ...), void *arg)
  16. {
  17. int code, id, len;
  18. int clen, nlen;