svn commit: r301734 - in head: lib/libc/rpc sys/rpc

Kevin Lo kevlo at FreeBSD.org
Thu Jun 9 14:33:01 UTC 2016


Author: kevlo
Date: Thu Jun  9 14:33:00 2016
New Revision: 301734
URL: https://svnweb.freebsd.org/changeset/base/301734

Log:
  Fix the rpcb_getaddr() definition to match its declaration.
  
  Submitted by:	Sebastian Huber <sebastian dot huber at embedded-brains dot de>

Modified:
  head/lib/libc/rpc/rpcb_clnt.c
  head/sys/rpc/rpcb_clnt.c

Modified: head/lib/libc/rpc/rpcb_clnt.c
==============================================================================
--- head/lib/libc/rpc/rpcb_clnt.c	Thu Jun  9 14:18:12 2016	(r301733)
+++ head/lib/libc/rpc/rpcb_clnt.c	Thu Jun  9 14:33:00 2016	(r301734)
@@ -1010,7 +1010,7 @@ done:
  *
  * Assuming that the address is all properly allocated
  */
-int
+bool_t
 rpcb_getaddr(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf,
     struct netbuf *address, const char *host)
 {

Modified: head/sys/rpc/rpcb_clnt.c
==============================================================================
--- head/sys/rpc/rpcb_clnt.c	Thu Jun  9 14:18:12 2016	(r301733)
+++ head/sys/rpc/rpcb_clnt.c	Thu Jun  9 14:33:00 2016	(r301734)
@@ -1051,7 +1051,7 @@ done:
  *
  * Assuming that the address is all properly allocated
  */
-int
+bool_t
 rpcb_getaddr(program, version, nconf, address, host)
 	rpcprog_t program;
 	rpcvers_t version;


More information about the svn-src-all mailing list