From owner-freebsd-hackers@freebsd.org Thu Jun 9 14:36:32 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB250B6F75B for ; Thu, 9 Jun 2016 14:36:32 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B67213B1 for ; Thu, 9 Jun 2016 14:36:31 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.15.2/8.15.2) with ESMTPS id u59EaEH1010573 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 9 Jun 2016 22:36:15 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.15.2/8.15.2/Submit) id u59EaDu2010572; Thu, 9 Jun 2016 22:36:13 +0800 (CST) (envelope-from kevlo) Date: Thu, 9 Jun 2016 22:36:13 +0800 From: Kevin Lo To: Sebastian Huber Cc: freebsd-hackers@freebsd.org Subject: Re: [PATCH] Fix rpcb_getaddr() definition Message-ID: <20160609143613.GA10565@ns.kevlo.org> References: <1465461871-26349-1-git-send-email-sebastian.huber@embedded-brains.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465461871-26349-1-git-send-email-sebastian.huber@embedded-brains.de> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2016 14:36:32 -0000 On Thu, Jun 09, 2016 at 10:44:31AM +0200, Sebastian Huber wrote: > > Fix the rpcb_getaddr() definition to match its declaration. It matters > for systems with int != int32_t also known as bool_t. Committed as r301734, thanks. > --- > lib/libc/rpc/rpcb_clnt.c | 2 +- > sys/rpc/rpcb_clnt.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/libc/rpc/rpcb_clnt.c b/lib/libc/rpc/rpcb_clnt.c > index 02206a9..f9d89c1 100644 > --- a/lib/libc/rpc/rpcb_clnt.c > +++ b/lib/libc/rpc/rpcb_clnt.c > @@ -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) > { > diff --git a/sys/rpc/rpcb_clnt.c b/sys/rpc/rpcb_clnt.c > index a68793e..f3781f6 100644 > --- a/sys/rpc/rpcb_clnt.c > +++ b/sys/rpc/rpcb_clnt.c > @@ -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; > -- > 1.8.4.5 >