diff options
author | Christopher Faylor <me@cgf.cx> | 2003-12-05 06:13:44 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-12-05 06:13:44 +0000 |
commit | 576593dd7233945479f9689059d527401a7cea96 (patch) | |
tree | e000677cbc4213937a22de44e5d2f463d21b8c1e /newlib/libm/mathfp/erf_lgamma.c | |
parent | 4c889d629d2d1deca5f402054bfb76203197172d (diff) | |
download | cygnal-576593dd7233945479f9689059d527401a7cea96.tar.gz cygnal-576593dd7233945479f9689059d527401a7cea96.tar.bz2 cygnal-576593dd7233945479f9689059d527401a7cea96.zip |
* libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when
defining _mbrtowc.
* libc/stdlib/mbsinit.c: Ditto.
* libc/stdlib/mbsrtowcs.c: Ditto.
* libc/stdlib/wcrtomb.c: Ditto.
* libc/stdlib/wcsrtombs.c: Ditto.
* libc/stdlib/wctob.c: Ditto.
* libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when
defining _mbrtowc.
* libc/stdlib/mbsinit.c: Ditto.
* libc/stdlib/mbsrtowcs.c: Ditto.
Diffstat (limited to 'newlib/libm/mathfp/erf_lgamma.c')
-rw-r--r-- | newlib/libm/mathfp/erf_lgamma.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libm/mathfp/erf_lgamma.c b/newlib/libm/mathfp/erf_lgamma.c index 64bec0aca..4f092147b 100644 --- a/newlib/libm/mathfp/erf_lgamma.c +++ b/newlib/libm/mathfp/erf_lgamma.c @@ -244,3 +244,8 @@ static float zero= 0.0000000000e+00; if(hx<0) r = nadj - r; return r; } + +float lgammaf(float x) +{ + return lgammaf_r(x, &(_REENT_SIGNGAM(_REENT))); +} |