diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-01-24 00:12:44 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-01-24 00:12:44 +0000 |
commit | 3643210e24cc5ed167f2b76ac1755451b9c645e6 (patch) | |
tree | 6e87e054929fa9e941fd4f4cc164d259c4864733 /newlib | |
parent | 841081c9f2b3f3e8644452ca852c4e363f6becff (diff) | |
download | newlib-3643210e24cc5ed167f2b76ac1755451b9c645e6.zip newlib-3643210e24cc5ed167f2b76ac1755451b9c645e6.tar.gz newlib-3643210e24cc5ed167f2b76ac1755451b9c645e6.tar.bz2 |
2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/math.h (signgam): Regress previous fix as
it does not handle programs with extern int signgam in them.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/math.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 1b3ed8c..22dddf3 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,10 @@ 2001-01-23 Jeff Johnston <jjohnstn@redhat.com> + * 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 <jjohnstn@redhat.com> + * libc/include/math.h (signgam): Changed to a macro refering to its location in the reentrant structure. diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index fe57b1b..f092aff 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. */ |