Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/rpc Fix definitions to match headers



details:   https://anonhg.NetBSD.org/src/rev/5c0fd50ac6cc
branches:  trunk
changeset: 807031:5c0fd50ac6cc
user:      justin <justin%NetBSD.org@localhost>
date:      Thu Mar 26 11:31:57 2015 +0000

description:
Fix definitions to match headers

diffstat:

 lib/libc/rpc/rpcb_clnt.c |  8 ++++----
 lib/libc/rpc/xdr_rec.c   |  6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (56 lines):

diff -r fb136ff663f0 -r 5c0fd50ac6cc lib/libc/rpc/rpcb_clnt.c
--- a/lib/libc/rpc/rpcb_clnt.c  Thu Mar 26 11:17:08 2015 +0000
+++ b/lib/libc/rpc/rpcb_clnt.c  Thu Mar 26 11:31:57 2015 +0000
@@ -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 @@
  *
  * 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 -r fb136ff663f0 -r 5c0fd50ac6cc lib/libc/rpc/xdr_rec.c
--- a/lib/libc/rpc/xdr_rec.c    Thu Mar 26 11:17:08 2015 +0000
+++ b/lib/libc/rpc/xdr_rec.c    Thu Mar 26 11:31:57 2015 +0000
@@ -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 @@
  * 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 */



Home | Main Index | Thread Index | Old Index