diff options
author | Jennifer Averett <jennifer.averett@oarcorp.com> | 2023-05-05 13:17:41 -0500 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2023-05-05 14:49:48 -0400 |
commit | 742b8db95d93e4edba52bbf84afe64c9324ce89b (patch) | |
tree | f1ae0be3f0beec26a5afbeebab692900a1db0820 /newlib/libc | |
parent | 3bee68248fc8e164a8bb6bba3f105b10fdec8a71 (diff) | |
download | newlib-742b8db95d93e4edba52bbf84afe64c9324ce89b.zip newlib-742b8db95d93e4edba52bbf84afe64c9324ce89b.tar.gz newlib-742b8db95d93e4edba52bbf84afe64c9324ce89b.tar.bz2 |
Move signgm.c from libc/reent to libm/math
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/reent/Makefile.inc | 1 | ||||
-rw-r--r-- | newlib/libc/reent/signgam.c | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/newlib/libc/reent/Makefile.inc b/newlib/libc/reent/Makefile.inc index b4b7f75..38ddf57 100644 --- a/newlib/libc/reent/Makefile.inc +++ b/newlib/libc/reent/Makefile.inc @@ -14,7 +14,6 @@ libc_a_SOURCES += \ %D%/readr.c \ %D%/renamer.c \ %D%/signalr.c \ - %D%/signgam.c \ %D%/sbrkr.c \ %D%/statr.c \ %D%/timesr.c \ diff --git a/newlib/libc/reent/signgam.c b/newlib/libc/reent/signgam.c deleted file mode 100644 index b1017d8..0000000 --- a/newlib/libc/reent/signgam.c +++ /dev/null @@ -1,16 +0,0 @@ -/* The signgam variable is stored in the reentrancy structure. This - function returns its address for use by the macro signgam defined in - math.h. */ - -#include <math.h> -#include <reent.h> - -#ifndef _REENT_ONLY - -int * -__signgam (void) -{ - return &_REENT_SIGNGAM(_REENT); -} - -#endif |