patch-src_rpcb_svc_c 1013 B

1234567891011121314151617181920212223242526
  1. --- rpcbind-0.2.3.orig/src/rpcb_svc.c 2015-04-27 16:07:43.000000000 +0200
  2. +++ rpcbind-0.2.3/src/rpcb_svc.c 2016-10-08 18:19:45.000000000 +0200
  3. @@ -53,10 +53,10 @@
  4. #include "rpcbind.h"
  5. #include "xlog.h"
  6. -static void *rpcbproc_getaddr_3_local __P((void *, struct svc_req *, SVCXPRT *,
  7. - rpcvers_t));
  8. -static void *rpcbproc_dump_3_local __P((void *, struct svc_req *, SVCXPRT *,
  9. - rpcvers_t));
  10. +static void *rpcbproc_getaddr_3_local (void *, struct svc_req *, SVCXPRT *,
  11. + rpcvers_t);
  12. +static void *rpcbproc_dump_3_local (void *, struct svc_req *, SVCXPRT *,
  13. + rpcvers_t);
  14. /*
  15. * Called by svc_getreqset. There is a separate server handle for
  16. @@ -75,7 +75,7 @@ rpcb_service_3(struct svc_req *rqstp, SV
  17. } argument;
  18. char *result;
  19. xdrproc_t xdr_argument, xdr_result;
  20. - void *(*local) __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
  21. + void *(*local) (void *, struct svc_req *, SVCXPRT *, rpcvers_t);
  22. rpcprog_t setprog = 0;
  23. rpcbs_procinfo(RPCBVERS_3_STAT, rqstp->rq_proc);