diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 90437bac5..1b3ed8c4a 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2001-01-23 Jeff Johnston + + * libc/include/math.h (signgam): Changed to a macro refering to + its location in the reentrant structure. + 2001-01-23 Jeff Johnston * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index f092aff19..fe57b1b58 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. */ -extern __IMPORT int signgam; +#define signgam (_impure_ptr->_new._reent._gamma_signgam) /* The exception structure passed to the matherr routine. */