diff options
author | David Carlton <carlton@bactrian.org> | 2004-01-26 19:11:50 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2004-01-26 19:11:50 +0000 |
commit | 473f7a3bdf4431d8b738ec5e0f06df9745cfa278 (patch) | |
tree | a0d72108a597eec779cb5ada83ee40f11be3cb13 /libiberty/strdup.c | |
parent | d24d1d3b1955a582cb0f6ca968a5ceec1d739986 (diff) | |
download | binutils-redhat-carlton_dictionary-branch.tar.gz |
2004-01-26 David Carlton <carlton@kealia.com>carlton_dictionary-branch
* Merge with mainline; tag is carlton_dictionary-20040126-merge.
Diffstat (limited to 'libiberty/strdup.c')
-rw-r--r-- | libiberty/strdup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/strdup.c b/libiberty/strdup.c index 071a4a401a..a3f17d3bcb 100644 --- a/libiberty/strdup.c +++ b/libiberty/strdup.c @@ -22,7 +22,7 @@ extern PTR memcpy PARAMS ((PTR, const PTR, size_t)); char * strdup(s) - char *s; + const char *s; { size_t len = strlen (s) + 1; char *result = (char*) malloc (len); |