From fa4a36fdffe7a96c60dd5baf383e6c731a11a8c5 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 25 Jun 2003 11:04:58 +0000 Subject: [PATCH] * posix/transbug.c: Include for memset and strlen declarations. * stdio-common/tst-sprintf.c: Include for free declaration. * stdlib/tst-strtod.c (main): Pass long double value. * test-skeleton.c: Include for nanosleep declaration. 2003-06-25 Andreas Jaeger * posix/transbug.c: Include for memset and strlen declarations. * stdio-common/tst-sprintf.c: Include for free declaration. * stdlib/tst-strtod.c (main): Pass long double value. * test-skeleton.c: Include for nanosleep declaration. --- ChangeLog | 11 +++++++++++ posix/transbug.c | 1 + stdio-common/tst-sprintf.c | 1 + stdlib/tst-strtod.c | 2 +- test-skeleton.c | 1 + 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 28c84f37bf..feb19a7e48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2003-06-25 Andreas Jaeger + + * posix/transbug.c: Include for memset and strlen + declarations. + + * stdio-common/tst-sprintf.c: Include for free declaration. + + * stdlib/tst-strtod.c (main): Pass long double value. + + * test-skeleton.c: Include for nanosleep declaration. + 2003-06-25 Ulrich Drepper * include/time.h: Don't define CLOCK_IDFIELD_SIZE if _ISOMAC is diff --git a/posix/transbug.c b/posix/transbug.c index 434674fd55..3ae4929593 100755 --- a/posix/transbug.c +++ b/posix/transbug.c @@ -5,6 +5,7 @@ #include #include #include +#include /* lowercase chars mapped to uppercase */ static const char casetable[] = { diff --git a/stdio-common/tst-sprintf.c b/stdio-common/tst-sprintf.c index b20561ebfd..c61d3b50e4 100644 --- a/stdio-common/tst-sprintf.c +++ b/stdio-common/tst-sprintf.c @@ -1,4 +1,5 @@ #include +#include #include diff --git a/stdlib/tst-strtod.c b/stdlib/tst-strtod.c index c466e0fb77..2b93bbd95c 100644 --- a/stdlib/tst-strtod.c +++ b/stdlib/tst-strtod.c @@ -153,7 +153,7 @@ main (int argc, char ** argv) if (strtold (input2, NULL) != +1.000000000116415321826934814453125) { printf ("input2: %La != %La\n", strtold (input2, NULL), - +1.000000000116415321826934814453125); + +1.000000000116415321826934814453125L); status = 1; } diff --git a/test-skeleton.c b/test-skeleton.c index 1bffa69320..5ca9a3d8ff 100644 --- a/test-skeleton.c +++ b/test-skeleton.c @@ -29,6 +29,7 @@ #include #include #include +#include /* The test function is normally called `do_test' and it is called with argc and argv as the arguments. We nevertheless provide the