Fix definitions to match headers

This commit is contained in:
justin 2015-03-26 11:31:57 +00:00
parent 59fd6f1da5
commit 7b67337b9d
2 changed files with 7 additions and 7 deletions

View File

@ -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)
{

View File

@ -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 */