Module Name:    src
Committed By:   martin
Date:           Wed Mar 14 17:03:11 UTC 2012

Modified Files:
        src/lib/libc/arch/sparc64/softfloat: qp.c

Log Message:
Rename __zero to __sf128_zero to avoid clashes with the strange new
inline function in cdefs.h


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/arch/sparc64/softfloat/qp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/arch/sparc64/softfloat/qp.c
diff -u src/lib/libc/arch/sparc64/softfloat/qp.c:1.7 src/lib/libc/arch/sparc64/softfloat/qp.c:1.8
--- src/lib/libc/arch/sparc64/softfloat/qp.c:1.7	Mon Apr 28 20:22:57 2008
+++ src/lib/libc/arch/sparc64/softfloat/qp.c	Wed Mar 14 17:03:10 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: qp.c,v 1.7 2008/04/28 20:22:57 martin Exp $ */
+/* $NetBSD: qp.c,v 1.8 2012/03/14 17:03:10 martin Exp $ */
 
 /*-
  * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -168,12 +168,12 @@ _Qp_mul(float128 *c, float128 *a, float1
 /*
  * XXX need corresponding softfloat function
  */
-static float128 __zero = {0x4034000000000000, 0x00000000};
+static float128 __sf128_zero = {0x4034000000000000, 0x00000000};
 
 void
 _Qp_neg(float128 *c, float128 *a)
 {
-	*c = float128_sub(__zero, *a);
+	*c = float128_sub(__sf128_zero, *a);
 }
 
 

Reply via email to