aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRodney Brown <RodneyBrown@mynd.com>2000-10-16 16:24:54 +0000
committerJeff Law <law@gcc.gnu.org>2000-10-16 10:24:54 -0600
commit47c10e9bf9e56b0565be36761af118dd2d33afc0 (patch)
tree1d5b6c536745209387eaa449b7940b5d5d3bf1bb /gcc
parent0952f89b95dff6f2fef434ac0effb88b3255a541 (diff)
downloadgcc-47c10e9bf9e56b0565be36761af118dd2d33afc0.zip
gcc-47c10e9bf9e56b0565be36761af118dd2d33afc0.tar.gz
gcc-47c10e9bf9e56b0565be36761af118dd2d33afc0.tar.bz2
print-rtl.c (print_rtx_head): Constify.
* print-rtl.c (print_rtx_head): Constify. * rtl.h (print_rtx_head): Similarly. From-SVN: r36885
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/print-rtl.c2
-rw-r--r--gcc/rtl.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7ae4380..cb52f05 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
+ * print-rtl.c (print_rtx_head): Constify.
+ * rtl.h (print_rtx_head): Similarly.
+
* config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
Constify char * return value.
* config/pa/pa/pa.c
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 25f7e01..d895ce4b 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -58,7 +58,7 @@ static void print_rtx PARAMS ((rtx));
/* String printed at beginning of each RTL when it is dumped.
This string is set to ASM_COMMENT_START when the RTL is dumped in
the assembly output file. */
-char *print_rtx_head = "";
+const char *print_rtx_head = "";
/* Nonzero means suppress output of instruction numbers and line number
notes in debugging dumps.
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 674a5a1..b25c8ab 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1749,7 +1749,7 @@ extern void schedule_insns PARAMS ((FILE *));
extern void fix_sched_param PARAMS ((const char *, const char *));
/* In print-rtl.c */
-extern char *print_rtx_head;
+extern const char *print_rtx_head;
extern void debug_rtx PARAMS ((rtx));
extern void debug_rtx_list PARAMS ((rtx, int));
extern void debug_rtx_range PARAMS ((rtx, rtx));