Date: Thu, 9 Jun 2016 22:36:13 +0800 From: Kevin Lo <kevlo@FreeBSD.org> To: Sebastian Huber <sebastian.huber@embedded-brains.de> Cc: freebsd-hackers@freebsd.org Subject: Re: [PATCH] Fix rpcb_getaddr() definition Message-ID: <20160609143613.GA10565@ns.kevlo.org> In-Reply-To: <1465461871-26349-1-git-send-email-sebastian.huber@embedded-brains.de> References: <1465461871-26349-1-git-send-email-sebastian.huber@embedded-brains.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160609143613.GA10565>
