mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 11:30:56 +08:00
* 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.
This commit is contained in:
parent
4c889d629d
commit
576593dd72
@ -1,3 +1,20 @@
|
||||
2003-12-05 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2003-12-05 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* libc/stdlib/mbrlen.c: Change include order to prevent compiler
|
||||
errors when defining _mbrtowc.
|
||||
* libc/stdlib/mbsinit.c: Ditto.
|
||||
* libc/stdlib/mbsrtowcs.c: Ditto.
|
||||
|
||||
2003-12-05 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* libc/stdlib/mbrtowc.c: Change include order to prevent compiler
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <reent.h>
|
||||
#include <wchar.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <reent.h>
|
||||
#include <errno.h>
|
||||
|
||||
size_t
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <reent.h>
|
||||
#include <wchar.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <reent.h>
|
||||
#include <errno.h>
|
||||
|
||||
int
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <reent.h>
|
||||
#include <wchar.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <reent.h>
|
||||
#include <errno.h>
|
||||
|
||||
size_t
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <reent.h>
|
||||
#include <wchar.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <reent.h>
|
||||
#include <errno.h>
|
||||
|
||||
size_t
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <reent.h>
|
||||
#include <wchar.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <reent.h>
|
||||
#include <errno.h>
|
||||
|
||||
size_t
|
||||
|
@ -1,8 +1,7 @@
|
||||
#include <wchar.h>
|
||||
#include <reent.h>
|
||||
#include <wchar.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <reent.h>
|
||||
|
||||
int
|
||||
wctob (wint_t c)
|
||||
|
@ -30,3 +30,8 @@
|
||||
{
|
||||
return exp (lgamma_r(x,signgamp));
|
||||
}
|
||||
|
||||
double gamma(double x)
|
||||
{
|
||||
return gamma_r(x, &(_REENT_SIGNGAM(_REENT)));
|
||||
}
|
||||
|
@ -422,3 +422,9 @@ static double zero= 0.00000000000000000000e+00;
|
||||
if(hx<0) r = nadj - r;
|
||||
return r;
|
||||
}
|
||||
|
||||
double
|
||||
lgamma(double x)
|
||||
{
|
||||
return lgamma_r(x, &(_REENT_SIGNGAM(_REENT)));
|
||||
}
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
/* gammaf_r(x, signgamp)
|
||||
* Reentrant version of the logarithm of the Gamma function
|
||||
* with user provide pointer for the sign of Gamma(x).
|
||||
* with user provided pointer for the sign of Gamma(x).
|
||||
*
|
||||
* Method: See lgammaf_r
|
||||
*/
|
||||
@ -32,3 +32,8 @@
|
||||
{
|
||||
return expf (lgammaf_r(x,signgamp));
|
||||
}
|
||||
|
||||
float gammaf(float x)
|
||||
{
|
||||
return gammaf_r(x, &(_REENT_SIGNGAM(_REENT)));
|
||||
}
|
||||
|
@ -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)));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user