diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-29 13:41:25 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-29 13:41:25 +0000 |
commit | 746409a48f65b9f534f0ec9120ad974826064f7c (patch) | |
tree | 271055b104ee1d42602d1a5fcd62c8a6183e3e5e /gcc/config/vax | |
parent | 1a24ab8608ab701fdeca020aef3c4fed62448755 (diff) | |
download | gcc-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/config/vax')
-rw-r--r-- | gcc/config/vax/vms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/vax/vms.h b/gcc/config/vax/vms.h index a4302797664..1f84f63a2e8 100644 --- a/gcc/config/vax/vms.h +++ b/gcc/config/vax/vms.h @@ -94,7 +94,7 @@ Boston, MA 02111-1307, USA. */ * setting of -4 will end up adding them right back again, but don't bother. */ #define MAYBE_VMS_FUNCTION_PROLOGUE(FILE) \ -{ char *p = current_function_name; \ +{ const char *p = current_function_name; \ int is_main = strcmp ("main", p) == 0; \ while (!is_main && *p != '\0') \ { \ |