From fdeac5cec68297213b829b922bc6dea485688a5b Mon Sep 17 00:00:00 2001 From: ghazi Date: Fri, 20 Aug 1999 22:32:54 +0000 Subject: * rtl.c (rtx_name): Constify a char*. * rtl.h (rtx_name, fix_sched_param): Likewise. * gmicro/gmicro.c (rtx_name): Remove redundant declaration. (mypr): Use accessor macro, not `rtx_name'. * genemit.c (print_code): Constify a char*. * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'. * genpeep.c (print_code): Constify a char*. * genrecog.c (print_code): Likewise. * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct, end_bb): Add static prototype. (draw_edge): Constify a char*. (end_bb): Remove unused parameter. * haifa-sched.c (fix_sched_param, safe_concat, print_exp print_block_visualization): Constify a char*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28782 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/genpeep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/genpeep.c') diff --git a/gcc/genpeep.c b/gcc/genpeep.c index 047fef4bece..2ef2bd8eecc 100644 --- a/gcc/genpeep.c +++ b/gcc/genpeep.c @@ -374,7 +374,7 @@ static void print_code (code) RTX_CODE code; { - register char *p1; + register const char *p1; for (p1 = GET_RTX_NAME (code); *p1; p1++) { if (*p1 >= 'a' && *p1 <= 'z') -- cgit v1.2.1