Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/rpc XXXGCC: Make a local extern for abort and the v...



details:   https://anonhg.NetBSD.org/src/rev/70673488212f
branches:  trunk
changeset: 586297:70673488212f
user:      jmc <jmc%NetBSD.org@localhost>
date:      Tue Dec 13 05:54:50 2005 +0000

description:
XXXGCC: Make a local extern for abort and the vax compiler is happy again.

diffstat:

 lib/libc/rpc/svc_vc.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r dcfbb30925e5 -r 70673488212f lib/libc/rpc/svc_vc.c
--- a/lib/libc/rpc/svc_vc.c     Tue Dec 13 05:10:55 2005 +0000
+++ b/lib/libc/rpc/svc_vc.c     Tue Dec 13 05:54:50 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svc_vc.c,v 1.14 2005/12/10 04:01:58 christos Exp $     */
+/*     $NetBSD: svc_vc.c,v 1.15 2005/12/13 05:54:50 jmc Exp $  */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -35,7 +35,7 @@
 static char *sccsid = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";
 static char *sccsid = "@(#)svc_tcp.c   2.2 88/08/01 4.0 RPCSRC";
 #else
-__RCSID("$NetBSD: svc_vc.c,v 1.14 2005/12/10 04:01:58 christos Exp $");
+__RCSID("$NetBSD: svc_vc.c,v 1.15 2005/12/13 05:54:50 jmc Exp $");
 #endif
 #endif
 
@@ -762,6 +762,10 @@
 #ifdef _REENTRANT
        extern mutex_t ops_lock;
 #endif
+/* XXXGCC vax compiler unhappy otherwise */
+#ifdef __vax__     
+extern void abort(void);
+#endif
 
        mutex_lock(&ops_lock);
        if (ops.xp_recv == NULL) {



Home | Main Index | Thread Index | Old Index