12345678910111213141516171819202122232425262728293031 |
- --- rpcbind-0.2.3.orig/src/rpcb_svc_4.c 2015-04-27 16:07:43.000000000 +0200
- +++ rpcbind-0.2.3/src/rpcb_svc_4.c 2016-10-08 18:19:45.000000000 +0200
- @@ -54,13 +54,13 @@
- #include "rpcbind.h"
- #include "xlog.h"
-
- -static void *rpcbproc_getaddr_4_local __P((void *, struct svc_req *, SVCXPRT *,
- - rpcvers_t));
- -static void *rpcbproc_getversaddr_4_local __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
- +static void *rpcbproc_getaddr_4_local (void *, struct svc_req *, SVCXPRT *,
- + rpcvers_t);
- +static void *rpcbproc_getversaddr_4_local (void *, struct svc_req *, SVCXPRT *, rpcvers_t);
- static void *rpcbproc_getaddrlist_4_local
- - __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
- -static void free_rpcb_entry_list __P((rpcb_entry_list_ptr *));
- -static void *rpcbproc_dump_4_local __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
- + (void *, struct svc_req *, SVCXPRT *, rpcvers_t);
- +static void free_rpcb_entry_list (rpcb_entry_list_ptr *);
- +static void *rpcbproc_dump_4_local (void *, struct svc_req *, SVCXPRT *, rpcvers_t);
-
- /*
- * Called by svc_getreqset. There is a separate server handle for
- @@ -78,7 +78,7 @@ rpcb_service_4(struct svc_req *rqstp, SV
- } argument;
- char *result;
- xdrproc_t xdr_argument, xdr_result;
- - void *(*local) __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
- + void *(*local) (void *, struct svc_req *, SVCXPRT *, rpcvers_t);
- rpcprog_t setprog = 0;
-
- rpcbs_procinfo(RPCBVERS_4_STAT, rqstp->rq_proc);
|