summaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-29 13:41:25 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-29 13:41:25 +0000
commit746409a48f65b9f534f0ec9120ad974826064f7c (patch)
tree271055b104ee1d42602d1a5fcd62c8a6183e3e5e /gcc/function.h
parent1a24ab8608ab701fdeca020aef3c4fed62448755 (diff)
downloadgcc-746409a48f65b9f534f0ec9120ad974826064f7c.tar.gz
* tree.c (tree_code_name): Constify a char*.
* tree.h (tree_code_name, decl_printable_name): Likewise. * function.h (struct function): Likewise. * toplev.c (decl_name, decl_printable_name): Likewise. * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise. * objc/objc-act.c (decl_printable_name): Remove redundant prototype. (init_objc): Remove function pointer cast. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28966 138bc75d-0d04-0410-961f-82ee72b054a4
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. */