diff options
-rw-r--r-- | ChangeLog | 11 | ||||
-rwxr-xr-x | posix/transbug.c | 1 | ||||
-rw-r--r-- | stdio-common/tst-sprintf.c | 1 | ||||
-rw-r--r-- | stdlib/tst-strtod.c | 2 | ||||
-rw-r--r-- | test-skeleton.c | 1 |
5 files changed, 15 insertions, 1 deletions
@@ -1,3 +1,14 @@ +2003-06-25 Andreas Jaeger <aj@suse.de> + + * posix/transbug.c: Include <string.h> for memset and strlen + declarations. + + * stdio-common/tst-sprintf.c: Include <stdlib.h> for free declaration. + + * stdlib/tst-strtod.c (main): Pass long double value. + + * test-skeleton.c: Include <time.h> for nanosleep declaration. + 2003-06-25 Ulrich Drepper <drepper@redhat.com> * 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 <regex.h> #include <stdlib.h> #include <unistd.h> +#include <string.h> /* 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 <stdio.h> +#include <stdlib.h> #include <string.h> 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 <sys/resource.h> #include <sys/wait.h> #include <sys/param.h> +#include <time.h> /* The test function is normally called `do_test' and it is called with argc and argv as the arguments. We nevertheless provide the |