diff options
author | David Carlton <carlton@bactrian.org> | 2004-01-26 19:11:55 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2004-01-26 19:11:55 +0000 |
commit | feff3e492f1aff01b62a61e38e20fc7e8fc89946 (patch) | |
tree | 08c456fb63098f7b46e1dfa74746c8ab87a74e8c /libiberty/strdup.c | |
parent | aa0e88e3d758559942e192f3075a3edc0b2f222d (diff) | |
download | gdb-feff3e492f1aff01b62a61e38e20fc7e8fc89946.zip gdb-feff3e492f1aff01b62a61e38e20fc7e8fc89946.tar.gz gdb-feff3e492f1aff01b62a61e38e20fc7e8fc89946.tar.bz2 |
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 071a4a4..a3f17d3 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); |