summaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 49cbe59f05f..86d2c3cf9f0 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -186,7 +186,7 @@ struct function
/* For function.c. */
/* Name of this function. */
- char *name;
+ const char *name;
/* Points to the FUNCTION_DECL of this function. */
tree decl;
@@ -280,7 +280,7 @@ struct function
/* Language-specific reason why the current function cannot be made
inline. */
- char *cannot_inline;
+ const char *cannot_inline;
/* Nonzero if instrumentation calls for function entry and exit should be
generated. */