Retro68/gcc/newlib/libc/reent/signgam.c
Wolfgang Thaller ec13cc9ce7 fix newlib
2018-12-29 09:59:36 +01:00

17 lines
285 B
C

/* 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