aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-06-21 12:39:22 +0000
committerAndreas Jaeger <aj@suse.de>2000-06-21 12:39:22 +0000
commit3e1f480ef8b2597264f9553041fef860d749c5d9 (patch)
tree81e6e7d7148cf2365b63216afcace11796c9643a /stdio-common
parentae0d72a53c42dec333fd9c0c136722af49d433b3 (diff)
downloadglibc-3e1f480ef8b2597264f9553041fef860d749c5d9.zip
glibc-3e1f480ef8b2597264f9553041fef860d749c5d9.tar.gz
glibc-3e1f480ef8b2597264f9553041fef860d749c5d9.tar.bz2
* tst-trans.c: Include <stdlib.h> and <string.h>.
2000-06-21 Andreas Jaeger <aj@suse.de> * tst-trans.c: Include <stdlib.h> and <string.h>.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/scanf4.c1
-rw-r--r--stdio-common/scanf5.c1
-rw-r--r--stdio-common/temptest.c1
-rw-r--r--stdio-common/tst-fileno.c3
-rw-r--r--stdio-common/tst-printfsz.c1
5 files changed, 6 insertions, 1 deletions
diff --git a/stdio-common/scanf4.c b/stdio-common/scanf4.c
index 177b2ec..f9a9134 100644
--- a/stdio-common/scanf4.c
+++ b/stdio-common/scanf4.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
int
main(int arc, char *argv[])
diff --git a/stdio-common/scanf5.c b/stdio-common/scanf5.c
index bbbb774..fb4acfa 100644
--- a/stdio-common/scanf5.c
+++ b/stdio-common/scanf5.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
int
main(int argc, char *argv[])
diff --git a/stdio-common/temptest.c b/stdio-common/temptest.c
index 35ea4dc..ec8e179 100644
--- a/stdio-common/temptest.c
+++ b/stdio-common/temptest.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
char *files[500];
diff --git a/stdio-common/tst-fileno.c b/stdio-common/tst-fileno.c
index 0b47c0f..79c768d 100644
--- a/stdio-common/tst-fileno.c
+++ b/stdio-common/tst-fileno.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1997, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,7 @@
Boston, MA 02111-1307, USA. */
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
static int
diff --git a/stdio-common/tst-printfsz.c b/stdio-common/tst-printfsz.c
index fed829c..5925050 100644
--- a/stdio-common/tst-printfsz.c
+++ b/stdio-common/tst-printfsz.c
@@ -1,6 +1,7 @@
/* Based on code by Larry McVoy <lm@neteng.engr.sgi.com>. */
#include <printf.h>
#include <stdio.h>
+#include <string.h>
#define V 12345678.12345678