Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/rpc oops fix previous typos.



details:   https://anonhg.NetBSD.org/src/rev/46ae23dcf666
branches:  trunk
changeset: 500944:46ae23dcf666
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 20 23:08:51 2000 +0000

description:
oops fix previous typos.

diffstat:

 lib/libc/rpc/clnt_dg.c  |  4 ++--
 lib/libc/rpc/clnt_raw.c |  6 +++---
 lib/libc/rpc/clnt_vc.c  |  6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r 6d7358d2cd0d -r 46ae23dcf666 lib/libc/rpc/clnt_dg.c
--- a/lib/libc/rpc/clnt_dg.c    Wed Dec 20 23:08:44 2000 +0000
+++ b/lib/libc/rpc/clnt_dg.c    Wed Dec 20 23:08:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clnt_dg.c,v 1.5 2000/12/20 20:52:50 christos Exp $     */
+/*     $NetBSD: clnt_dg.c,v 1.6 2000/12/20 23:08:51 christos Exp $     */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -351,7 +351,7 @@
         * the transaction is the first thing in the out buffer
         */
        (*(u_int32_t *)(void *)(cu->cu_outbuf))++;
-       if ((! XDR_PUTINT32(xdrs, (int32p)&proc)) ||
+       if ((! XDR_PUTINT32(xdrs, (int32_t *)&proc)) ||
            (! AUTH_MARSHALL(cl->cl_auth, xdrs)) ||
            (! (*xargs)(xdrs, argsp))) {
                release_fd_lock(cu->cu_fd, mask);
diff -r 6d7358d2cd0d -r 46ae23dcf666 lib/libc/rpc/clnt_raw.c
--- a/lib/libc/rpc/clnt_raw.c   Wed Dec 20 23:08:44 2000 +0000
+++ b/lib/libc/rpc/clnt_raw.c   Wed Dec 20 23:08:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clnt_raw.c,v 1.21 2000/12/20 20:52:50 christos Exp $   */
+/*     $NetBSD: clnt_raw.c,v 1.22 2000/12/20 23:08:51 christos Exp $   */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -35,7 +35,7 @@
 static char *sccsid = "@(#)clnt_raw.c 1.22 87/08/11 Copyr 1984 Sun Micro";
 static char *sccsid = "@(#)clnt_raw.c  2.2 88/08/01 4.0 RPCSRC";
 #else
-__RCSID("$NetBSD: clnt_raw.c,v 1.21 2000/12/20 20:52:50 christos Exp $");
+__RCSID("$NetBSD: clnt_raw.c,v 1.22 2000/12/20 23:08:51 christos Exp $");
 #endif
 #endif
 
@@ -182,7 +182,7 @@
        XDR_SETPOS(xdrs, 0);
        clp->u.mashl_rpcmsg.rm_xid ++ ;
        if ((! XDR_PUTBYTES(xdrs, clp->u.mashl_callmsg, clp->mcnt)) ||
-           (! XDR_PUTINT32(xdrs, (int32p)&proc)) ||
+           (! XDR_PUTINT32(xdrs, (int32_t *)&proc)) ||
            (! AUTH_MARSHALL(h->cl_auth, xdrs)) ||
            (! (*xargs)(xdrs, argsp))) {
                return (RPC_CANTENCODEARGS);
diff -r 6d7358d2cd0d -r 46ae23dcf666 lib/libc/rpc/clnt_vc.c
--- a/lib/libc/rpc/clnt_vc.c    Wed Dec 20 23:08:44 2000 +0000
+++ b/lib/libc/rpc/clnt_vc.c    Wed Dec 20 23:08:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clnt_vc.c,v 1.5 2000/12/20 20:52:50 christos Exp $     */
+/*     $NetBSD: clnt_vc.c,v 1.6 2000/12/20 23:08:51 christos Exp $     */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -36,7 +36,7 @@
 static char *sccsid = "@(#)clnt_tcp.c  2.2 88/08/01 4.0 RPCSRC";
 static char sccsid[] = "@(#)clnt_vc.c 1.19 89/03/16 Copyr 1988 Sun Micro";
 #else
-__RCSID("$NetBSD: clnt_vc.c,v 1.5 2000/12/20 20:52:50 christos Exp $");
+__RCSID("$NetBSD: clnt_vc.c,v 1.6 2000/12/20 23:08:51 christos Exp $");
 #endif
 #endif
  
@@ -366,7 +366,7 @@
        ct->ct_error.re_status = RPC_SUCCESS;
        x_id = ntohl(--(*msg_x_id));
        if ((! XDR_PUTBYTES(xdrs, ct->ct_u.ct_mcallc, ct->ct_mpos)) ||
-           (! XDR_PUTINT32(xdrs, (int32p)&proc)) ||
+           (! XDR_PUTINT32(xdrs, (int32_t *)&proc)) ||
            (! AUTH_MARSHALL(h->cl_auth, xdrs)) ||
            (! (*xdr_args)(xdrs, args_ptr))) {
                if (ct->ct_error.re_status == RPC_SUCCESS)



Home | Main Index | Thread Index | Old Index