Retro68/gcc/newlib/libc/reent/signgam.c
Wolfgang Thaller d464252791 re-add newlib
2017-04-11 23:13:36 +02:00

17 lines
292 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 *
_DEFUN_VOID (__signgam)
{
return &_REENT_SIGNGAM(_REENT);
}
#endif