diff options
author | Daniel Jacobowitz <dan@debian.org> | 2004-02-09 19:44:01 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2004-02-09 19:44:01 +0000 |
commit | cee0802370de30b5e41a57a9e2bde1b446ca0770 (patch) | |
tree | b601adf9aaa6b9c05aa7a20e421d619f1234da1b /libiberty/strdup.c | |
parent | f4570b829b5e52cf5d7abebf61a18d876fa6bcc1 (diff) | |
download | binutils-redhat-drow-cplus-branch.tar.gz |
Merge drow-cplus-merge-20040208 to drow-cplus-branch.drow-cplus-branch
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); |