diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-07-14 17:29:38 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-07-14 17:29:38 +0000 |
commit | db081298232dca56a29f7d6c719230113659aadf (patch) | |
tree | a5d5c3e0b6738786023c62965667754c92cc8bdc /libiberty/argv.c | |
parent | 7ce786d141abf0e40bd45507173aee1a7c4eb553 (diff) | |
download | gcc-db081298232dca56a29f7d6c719230113659aadf.tar.gz |
* argv.c: Include stdlib.h and string.h instead of
prototyping directly.
* choose-temp.c: Conditionally include string.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28099 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/argv.c')
-rw-r--r-- | libiberty/argv.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libiberty/argv.c b/libiberty/argv.c index 85c17e930ee..f596ffd0110 100644 --- a/libiberty/argv.c +++ b/libiberty/argv.c @@ -35,12 +35,8 @@ Boston, MA 02111-1307, USA. */ #ifdef __STDC__ #include <stddef.h> -extern void *memcpy (void *s1, const void *s2, size_t n); /* 4.11.2.1 */ -extern size_t strlen (const char *s); /* 4.11.6.3 */ -extern void *malloc (size_t size); /* 4.10.3.3 */ -extern void *realloc (void *ptr, size_t size); /* 4.10.3.4 */ -extern void free (void *ptr); /* 4.10.3.2 */ -extern char *strdup (const char *s); /* Non-ANSI */ +#include <string.h> +#include <stdlib.h> #else /* !__STDC__ */ |