aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rwxr-xr-xposix/transbug.c1
-rw-r--r--stdio-common/tst-sprintf.c1
-rw-r--r--stdlib/tst-strtod.c2
-rw-r--r--test-skeleton.c1
5 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 28c84f3..feb19a7 100644
--- 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
diff --git a/posix/transbug.c b/posix/transbug.c
index 434674f..3ae4929 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 b20561e..c61d3b5 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 c466e0f..2b93bbd 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 1bffa69..5ca9a3d 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