From 3643210e24cc5ed167f2b76ac1755451b9c645e6 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 24 Jan 2001 00:12:44 +0000 Subject: [PATCH] 2001-01-23 Jeff Johnston * libc/include/math.h (signgam): Regress previous fix as it does not handle programs with extern int signgam in them. --- newlib/ChangeLog | 5 +++++ newlib/libc/include/math.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 1b3ed8c4a..22dddf315 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2001-01-23 Jeff Johnston + + * libc/include/math.h (signgam): Regress previous fix as + it does not handle programs with extern int signgam in them. + 2001-01-23 Jeff Johnston * libc/include/math.h (signgam): Changed to a macro refering to diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index fe57b1b58..f092aff19 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -186,7 +186,7 @@ extern float dremf _PARAMS((float, float)); /* The gamma functions use a global variable, signgam. */ -#define signgam (_impure_ptr->_new._reent._gamma_signgam) +extern __IMPORT int signgam; /* The exception structure passed to the matherr routine. */