patch-src_pmap_svc_c 948 B

12345678910111213141516171819
  1. --- rpcbind-0.2.3.orig/src/pmap_svc.c 2015-04-27 16:07:43.000000000 +0200
  2. +++ rpcbind-0.2.3/src/pmap_svc.c 2016-10-08 18:19:45.000000000 +0200
  3. @@ -60,11 +60,11 @@ static char sccsid[] = "@(#)pmap_svc.c 1
  4. #include "rpcbind.h"
  5. #include "xlog.h"
  6. #include <rpc/svc_soc.h> /* svc_getcaller routine definition */
  7. -static struct pmaplist *find_service_pmap __P((rpcprog_t, rpcvers_t,
  8. - rpcprot_t));
  9. -static bool_t pmapproc_change __P((struct svc_req *, SVCXPRT *, u_long));
  10. -static bool_t pmapproc_getport __P((struct svc_req *, SVCXPRT *));
  11. -static bool_t pmapproc_dump __P((struct svc_req *, SVCXPRT *));
  12. +static struct pmaplist *find_service_pmap (rpcprog_t, rpcvers_t,
  13. + rpcprot_t);
  14. +static bool_t pmapproc_change (struct svc_req *, SVCXPRT *, u_long);
  15. +static bool_t pmapproc_getport (struct svc_req *, SVCXPRT *);
  16. +static bool_t pmapproc_dump (struct svc_req *, SVCXPRT *);
  17. /*
  18. * Called for all the version 2 inquiries.