aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index 08f5be4..76ae479 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -873,7 +873,7 @@ write_rbrac ()
char *
xstrdup (str)
- char *str;
+ const char *str;
{
char *copy = (char *) xmalloc (strlen (str) + 1);
strcpy (copy, str);