From 08c762a3eb8079e45a0a05353bb0f26e3eaa1f65 Mon Sep 17 00:00:00 2001 From: ghazi Date: Mon, 1 Nov 1999 01:47:41 +0000 Subject: * hard-reg-set.h (reg_names): Constify a char*. * regclass.c (reg_names): Likewise. * regs.h (reg_names): Likewise * a29k/a29k.c (reg_names): Delete declaration. * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*. * arc/arc.c (arc_save_restore, arc_output_function_prologue, arc_output_function_epilogue): Likewise. * elxsi/elxsi.c (reg_names): Likewise. * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise. * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move): Likewise. * m88k/m88k.c (output_function_profiler): Likewise. * sparc/sparc.c (sparc_flat_output_function_prologue, sparc_flat_output_function_epilogue): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30303 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/hard-reg-set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/hard-reg-set.h') diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h index 5064dbcc041..8d1ca75a0ac 100644 --- a/gcc/hard-reg-set.h +++ b/gcc/hard-reg-set.h @@ -467,4 +467,4 @@ extern int n_non_fixed_regs; /* Vector indexed by hardware reg giving its name. */ -extern char *reg_names[FIRST_PSEUDO_REGISTER]; +extern const char *reg_names[FIRST_PSEUDO_REGISTER]; -- cgit v1.2.1