From 7b67337b9d2c554acd1df36a3adacc82ffd4f9c0 Mon Sep 17 00:00:00 2001 From: justin Date: Thu, 26 Mar 2015 11:31:57 +0000 Subject: [PATCH] Fix definitions to match headers --- lib/libc/rpc/rpcb_clnt.c | 8 ++++---- lib/libc/rpc/xdr_rec.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/libc/rpc/rpcb_clnt.c b/lib/libc/rpc/rpcb_clnt.c index 498526135109..89d57394c968 100644 --- a/lib/libc/rpc/rpcb_clnt.c +++ b/lib/libc/rpc/rpcb_clnt.c @@ -1,4 +1,4 @@ -/* $NetBSD: rpcb_clnt.c,v 1.30 2014/01/02 20:12:23 christos Exp $ */ +/* $NetBSD: rpcb_clnt.c,v 1.31 2015/03/26 11:31:57 justin Exp $ */ /* * Copyright (c) 2010, Oracle America, Inc. @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)rpcb_clnt.c 1.30 89/06/21 Copyr 1988 Sun Micro"; #else -__RCSID("$NetBSD: rpcb_clnt.c,v 1.30 2014/01/02 20:12:23 christos Exp $"); +__RCSID("$NetBSD: rpcb_clnt.c,v 1.31 2015/03/26 11:31:57 justin Exp $"); #endif #endif @@ -983,8 +983,8 @@ done: * * Assuming that the address is all properly allocated */ -int -rpcb_getaddr(rpcprog_t program, rpcvers_t version, +bool_t +rpcb_getaddr(const rpcprog_t program, const rpcvers_t version, const struct netconfig *nconf, struct netbuf *address, const char *host) { diff --git a/lib/libc/rpc/xdr_rec.c b/lib/libc/rpc/xdr_rec.c index c6cb5a185f3c..5436f5931e74 100644 --- a/lib/libc/rpc/xdr_rec.c +++ b/lib/libc/rpc/xdr_rec.c @@ -1,4 +1,4 @@ -/* $NetBSD: xdr_rec.c,v 1.35 2013/03/11 20:19:30 tron Exp $ */ +/* $NetBSD: xdr_rec.c,v 1.36 2015/03/26 11:31:57 justin Exp $ */ /* * Copyright (c) 2010, Oracle America, Inc. @@ -37,7 +37,7 @@ static char *sccsid = "@(#)xdr_rec.c 1.21 87/08/11 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)xdr_rec.c 2.2 88/08/01 4.0 RPCSRC"; #else -__RCSID("$NetBSD: xdr_rec.c,v 1.35 2013/03/11 20:19:30 tron Exp $"); +__RCSID("$NetBSD: xdr_rec.c,v 1.36 2015/03/26 11:31:57 justin Exp $"); #endif #endif @@ -507,7 +507,7 @@ xdrrec_eof(XDR *xdrs) * pipelined procedure calls.) TRUE => immmediate flush to tcp connection. */ bool_t -xdrrec_endofrecord(XDR *xdrs, bool_t sendnow) +xdrrec_endofrecord(XDR *xdrs, int sendnow) { RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private); u_long len; /* fragment length */