patch-solaris_ppp_comp_c 1.2 KB

123456789101112131415161718192021222324252627282930
  1. --- ppp-2.4.5.orig/solaris/ppp_comp.c 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/solaris/ppp_comp.c 2014-03-17 16:13:16.000000000 +0100
  3. @@ -74,12 +74,12 @@
  4. MOD_OPEN_DECL(ppp_comp_open);
  5. MOD_CLOSE_DECL(ppp_comp_close);
  6. -static int ppp_comp_rput __P((queue_t *, mblk_t *));
  7. -static int ppp_comp_rsrv __P((queue_t *));
  8. -static int ppp_comp_wput __P((queue_t *, mblk_t *));
  9. -static int ppp_comp_wsrv __P((queue_t *));
  10. -static void ppp_comp_ccp __P((queue_t *, mblk_t *, int));
  11. -static int msg_byte __P((mblk_t *, unsigned int));
  12. +static int ppp_comp_rput (queue_t *, mblk_t *);
  13. +static int ppp_comp_rsrv (queue_t *);
  14. +static int ppp_comp_wput (queue_t *, mblk_t *);
  15. +static int ppp_comp_wsrv (queue_t *);
  16. +static void ppp_comp_ccp (queue_t *, mblk_t *, int);
  17. +static int msg_byte (mblk_t *, unsigned int);
  18. /* Extract byte i of message mp. */
  19. #define MSG_BYTE(mp, i) ((i) < (mp)->b_wptr - (mp)->b_rptr? (mp)->b_rptr[i]: \
  20. @@ -118,7 +118,7 @@ int ppp_comp_count; /* number of module
  21. #ifdef __osf__
  22. -static void ppp_comp_alloc __P((comp_state_t *));
  23. +static void ppp_comp_alloc (comp_state_t *);
  24. typedef struct memreq {
  25. unsigned char comp_opts[20];
  26. int cmd;