patch-pppd_sys-solaris_c 1.2 KB

123456789101112131415161718192021222324252627
  1. --- ppp-2.4.5.orig/pppd/sys-solaris.c 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/pppd/sys-solaris.c 2014-03-17 16:13:13.000000000 +0100
  3. @@ -241,15 +241,15 @@ static u_int32_t default_route_gateway;
  4. static u_int32_t proxy_arp_addr; /* Addr for proxy arp entry added */
  5. /* Prototypes for procedures local to this file. */
  6. -static int translate_speed __P((int));
  7. -static int baud_rate_of __P((int));
  8. -static int get_ether_addr __P((u_int32_t, struct sockaddr *));
  9. -static int get_hw_addr __P((char *, u_int32_t, struct sockaddr *));
  10. -static int get_hw_addr_dlpi __P((char *, struct sockaddr *));
  11. -static int dlpi_attach __P((int, int));
  12. -static int dlpi_info_req __P((int));
  13. -static int dlpi_get_reply __P((int, union DL_primitives *, int, int));
  14. -static int strioctl __P((int, int, void *, int, int));
  15. +static int translate_speed (int);
  16. +static int baud_rate_of (int);
  17. +static int get_ether_addr (u_int32_t, struct sockaddr *);
  18. +static int get_hw_addr (char *, u_int32_t, struct sockaddr *);
  19. +static int get_hw_addr_dlpi (char *, struct sockaddr *);
  20. +static int dlpi_attach (int, int);
  21. +static int dlpi_info_req (int);
  22. +static int dlpi_get_reply (int, union DL_primitives *, int, int);
  23. +static int strioctl (int, int, void *, int, int);
  24. #ifdef SOL2
  25. /*