diff options
author | Jennifer Averett <jennifer.averett@oarcorp.com> | 2023-05-05 21:17:41 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2023-05-05 21:49:48 +0300 |
commit | 742b8db95d93e4edba52bbf84afe64c9324ce89b (patch) | |
tree | f1ae0be3f0beec26a5afbeebab692900a1db0820 /newlib/libc/reent | |
parent | 3bee68248fc8e164a8bb6bba3f105b10fdec8a71 (diff) |
Move signgm.c from libc/reent to libm/math
Diffstat (limited to 'newlib/libc/reent')
-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 b4b7f7596..38ddf5766 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 b1017d861..000000000 --- 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 |