patch-modules_ppp_mod_h 940 B

12345678910111213141516171819202122232425262728
  1. --- ppp-2.4.5.orig/modules/ppp_mod.h 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/modules/ppp_mod.h 2014-03-17 16:13:07.000000000 +0100
  3. @@ -143,10 +143,10 @@ typedef int minor_t;
  4. */
  5. #ifdef SVR4
  6. #define MOD_OPEN_DECL(name) \
  7. -static int name __P((queue_t *, dev_t *, int, int, cred_t *))
  8. +static int name (queue_t *, dev_t *, int, int, cred_t *)
  9. #define MOD_CLOSE_DECL(name) \
  10. -static int name __P((queue_t *, int, cred_t *))
  11. +static int name (queue_t *, int, cred_t *)
  12. #define MOD_OPEN(name) \
  13. static int name(q, devp, flag, sflag, credp) \
  14. @@ -168,10 +168,10 @@ static int name(q, flag, credp) \
  15. #else /* not SVR4 */
  16. #define MOD_OPEN_DECL(name) \
  17. -static int name __P((queue_t *, int, int, int))
  18. +static int name (queue_t *, int, int, int)
  19. #define MOD_CLOSE_DECL(name) \
  20. -static int name __P((queue_t *, int))
  21. +static int name (queue_t *, int)
  22. #define MOD_OPEN(name) \
  23. static int name(q, dev, flag, sflag) \