Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2016 14:33:00 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r301734 - in head: lib/libc/rpc sys/rpc
Message-ID:  <201606091433.u59EX0ht002113@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606091433.u59EX0ht002113>