summaryrefslogtreecommitdiffstats
path: root/newlib/libc/reent/signgam.c
blob: 905386686d6d4927fe74fc1dbf27b308af8d84fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 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 ()
{
  return &_REENT->_new._reent._gamma_signgam;
}

#endif