Rename __zero to __sf128_zero to avoid clashes with the strange new

inline function in cdefs.h
This commit is contained in:
martin 2012-03-14 17:03:10 +00:00
parent 32c2c5c3f9
commit 90310d68b0
1 changed files with 3 additions and 3 deletions

View File

@ -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. * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@ -168,12 +168,12 @@ _Qp_mul(float128 *c, float128 *a, float128 *b)
/* /*
* XXX need corresponding softfloat function * XXX need corresponding softfloat function
*/ */
static float128 __zero = {0x4034000000000000, 0x00000000}; static float128 __sf128_zero = {0x4034000000000000, 0x00000000};
void void
_Qp_neg(float128 *c, float128 *a) _Qp_neg(float128 *c, float128 *a)
{ {
*c = float128_sub(__zero, *a); *c = float128_sub(__sf128_zero, *a);
} }