patch-src_rpcb_svc_4_c 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. --- rpcbind-0.2.3.orig/src/rpcb_svc_4.c 2015-04-27 16:07:43.000000000 +0200
  2. +++ rpcbind-0.2.3/src/rpcb_svc_4.c 2016-10-08 18:19:45.000000000 +0200
  3. @@ -54,13 +54,13 @@
  4. #include "rpcbind.h"
  5. #include "xlog.h"
  6. -static void *rpcbproc_getaddr_4_local __P((void *, struct svc_req *, SVCXPRT *,
  7. - rpcvers_t));
  8. -static void *rpcbproc_getversaddr_4_local __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
  9. +static void *rpcbproc_getaddr_4_local (void *, struct svc_req *, SVCXPRT *,
  10. + rpcvers_t);
  11. +static void *rpcbproc_getversaddr_4_local (void *, struct svc_req *, SVCXPRT *, rpcvers_t);
  12. static void *rpcbproc_getaddrlist_4_local
  13. - __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
  14. -static void free_rpcb_entry_list __P((rpcb_entry_list_ptr *));
  15. -static void *rpcbproc_dump_4_local __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
  16. + (void *, struct svc_req *, SVCXPRT *, rpcvers_t);
  17. +static void free_rpcb_entry_list (rpcb_entry_list_ptr *);
  18. +static void *rpcbproc_dump_4_local (void *, struct svc_req *, SVCXPRT *, rpcvers_t);
  19. /*
  20. * Called by svc_getreqset. There is a separate server handle for
  21. @@ -78,7 +78,7 @@ rpcb_service_4(struct svc_req *rqstp, SV
  22. } argument;
  23. char *result;
  24. xdrproc_t xdr_argument, xdr_result;
  25. - void *(*local) __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
  26. + void *(*local) (void *, struct svc_req *, SVCXPRT *, rpcvers_t);
  27. rpcprog_t setprog = 0;
  28. rpcbs_procinfo(RPCBVERS_4_STAT, rqstp->rq_proc);