* 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:
Christopher Faylor 2003-12-05 06:13:44 +00:00
parent 4c889d629d
commit 576593dd72
11 changed files with 45 additions and 8 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
#include <reent.h>
#include <wchar.h>
#include <stdlib.h>
#include <stdio.h>
#include <reent.h>
#include <errno.h>
size_t

View File

@ -1,7 +1,7 @@
#include <reent.h>
#include <wchar.h>
#include <stdlib.h>
#include <stdio.h>
#include <reent.h>
#include <errno.h>
int

View File

@ -1,7 +1,7 @@
#include <reent.h>
#include <wchar.h>
#include <stdlib.h>
#include <stdio.h>
#include <reent.h>
#include <errno.h>
size_t

View File

@ -1,7 +1,7 @@
#include <reent.h>
#include <wchar.h>
#include <stdlib.h>
#include <stdio.h>
#include <reent.h>
#include <errno.h>
size_t

View File

@ -1,7 +1,7 @@
#include <reent.h>
#include <wchar.h>
#include <stdlib.h>
#include <stdio.h>
#include <reent.h>
#include <errno.h>
size_t

View File

@ -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)

View File

@ -30,3 +30,8 @@
{
return exp (lgamma_r(x,signgamp));
}
double gamma(double x)
{
return gamma_r(x, &(_REENT_SIGNGAM(_REENT)));
}

View File

@ -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)));
}

View File

@ -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)));
}

View File

@ -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)));
}