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 build: maskp should be a pointer to a sigse...



details:   https://anonhg.NetBSD.org/src/rev/74dce1101d65
branches:  trunk
changeset: 584151:74dce1101d65
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Sat Sep 10 09:04:11 2005 +0000

description:
Fix build: maskp should be a pointer to a sigset_t.  Hi, christos@!

diffstat:

 lib/libc/rpc/clnt_dg.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r bccbb77f1ff4 -r 74dce1101d65 lib/libc/rpc/clnt_dg.c
--- a/lib/libc/rpc/clnt_dg.c    Sat Sep 10 04:34:39 2005 +0000
+++ b/lib/libc/rpc/clnt_dg.c    Sat Sep 10 09:04:11 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clnt_dg.c,v 1.16 2005/09/09 15:40:49 christos Exp $    */
+/*     $NetBSD: clnt_dg.c,v 1.17 2005/09/10 09:04:11 jmmv Exp $        */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)clnt_dg.c 1.19 89/03/16 Copyr 1988 Sun Micro";
 #else
-__RCSID("$NetBSD: clnt_dg.c,v 1.16 2005/09/09 15:40:49 christos Exp $");
+__RCSID("$NetBSD: clnt_dg.c,v 1.17 2005/09/10 09:04:11 jmmv Exp $");
 #endif
 #endif
 
@@ -322,9 +322,9 @@
        struct timeval startime, curtime;
        int firsttimeout = 1;
 #ifdef _REENTRANT
-       sigset_t mask, maskp = &mask;
+       sigset_t mask, *maskp = &mask;
 #else
-       sigset_t maskp = NULL;
+       sigset_t *maskp = NULL;
 #endif
        sigset_t newmask;
        ssize_t recvlen = 0;



Home | Main Index | Thread Index | Old Index