summaryrefslogtreecommitdiffstats
path: root/newlib/libc/reent/signgam.c
blob: 41d955d3a9c052d9d0de57a7a59b63dc4f3c0c0e (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_SIGNGAM(_REENT);
}

#endif