* posix/transbug.c: Include <string.h> for memset and strlen
authorAndreas Jaeger <aj@suse.de>
Wed, 25 Jun 2003 11:04:58 +0000 (11:04 +0000)
committerAndreas Jaeger <aj@suse.de>
Wed, 25 Jun 2003 11:04:58 +0000 (11:04 +0000)
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  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.

ChangeLog
posix/transbug.c
stdio-common/tst-sprintf.c
stdlib/tst-strtod.c
test-skeleton.c

index 28c84f3..feb19a7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 434674f..3ae4929 100755 (executable)
@@ -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[] = {
index b20561e..c61d3b5 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 
 
index c466e0f..2b93bbd 100644 (file)
@@ -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;
     }
 
index 1bffa69..5ca9a3d 100644 (file)
@@ -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