aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/reent/signgam.c
blob: bfb2dea51de7daa8a4f777b6b7b2f677d4f837b0 (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 *
_DEFUN_VOID (__signgam)
{
  return &_REENT_SIGNGAM(_REENT);
}

#endif