aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-06-25 11:04:58 +0000
committerAndreas Jaeger <aj@suse.de>2003-06-25 11:04:58 +0000
commitfa4a36fdffe7a96c60dd5baf383e6c731a11a8c5 (patch)
treead95dd50a3c7053e5d7c08f3b3495ca5977479e4
parent657f0417ed66d26fa80bbf3ef7081c59e15fbdd6 (diff)
downloadglibc-fa4a36fdffe7a96c60dd5baf383e6c731a11a8c5.tar
glibc-fa4a36fdffe7a96c60dd5baf383e6c731a11a8c5.tar.gz
glibc-fa4a36fdffe7a96c60dd5baf383e6c731a11a8c5.tar.bz2
glibc-fa4a36fdffe7a96c60dd5baf383e6c731a11a8c5.zip
* 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 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.
-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 28c84f37bf..feb19a7e48 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 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