]> sourceware.org Git - newlib-cygwin.git/commitdiff
* libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when
authorChristopher Faylor <me@cgf.cx>
Fri, 5 Dec 2003 06:13:44 +0000 (06:13 +0000)
committerChristopher Faylor <me@cgf.cx>
Fri, 5 Dec 2003 06:13:44 +0000 (06:13 +0000)
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.

newlib/ChangeLog
newlib/libc/stdlib/mbrlen.c
newlib/libc/stdlib/mbsinit.c
newlib/libc/stdlib/mbsrtowcs.c
newlib/libc/stdlib/wcrtomb.c
newlib/libc/stdlib/wcsrtombs.c
newlib/libc/stdlib/wctob.c
newlib/libm/mathfp/er_gamma.c
newlib/libm/mathfp/er_lgamma.c
newlib/libm/mathfp/erf_gamma.c
newlib/libm/mathfp/erf_lgamma.c

index 62b0036cccf336f2e4a21f1596d3a790a7aa6666..27782ba3c8b064639e6848cf74bb485e4d30944c 100644 (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
index 504348d38e5860095503ba98cef30b235dc71e28..cf14add86f31379c069f97c5b83ee5c4507283d5 100644 (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
index a353cb1c1e49ad01a58bc5bbb2491796d4bb963a..e32369ae1e18e3937c017ce60cd2bed74e421b93 100644 (file)
@@ -1,7 +1,7 @@
+#include <reent.h>
 #include <wchar.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <reent.h>
 #include <errno.h>
 
 int
index 08d9d0c186b6967cd6642a69a758e5da8cde60f8..10d3a72d4e9346d2d653700edc6d234443752f5c 100644 (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
index 0eb59ca944e5c910be132dd7a15f107666f1553a..fbd71b1e25ac7b5c77a128ccee584f12a9dde436 100644 (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
index 677dfa1db926b529b7a5d791b823847503bcbce8..11fdf92851969df097990efecca3855d438153d8 100644 (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
index 4288c54a84c904fabe7ff73ab1ad059e5d78e035..57187b287f263aeecd20b55f3860045bc55afe90 100644 (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)
index 63758bb43baab3dd1573037a1cd349a568a49065..0060ed031b4ed66a22e615f41d50aef596fa589c 100644 (file)
@@ -30,3 +30,8 @@
 {
        return exp (lgamma_r(x,signgamp));
 }
+
+double gamma(double x)
+{
+  return gamma_r(x, &(_REENT_SIGNGAM(_REENT)));
+}
index 65d60026e675a2536497ebbcd354c1f888e5b97b..fd49c252ee59d9c8aa64522d78c5258e8c2f394a 100644 (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)));
+}
index 16be0d040d9e9a95227de9a76b4204eed5558ee4..246645d25e66459c970767cb0d2a106c24b3f94b 100644 (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)));
+}
index 64bec0acad5947dd951b7b52e6860c6b9d662b24..4f092147b704ec3296d97c718e186918bf27c66d 100644 (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)));
+}
This page took 0.055303 seconds and 5 git commands to generate.