summaryrefslogtreecommitdiffstats
path: root/gcc/ch
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-31 02:16:34 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-31 02:16:34 +0000
commitc978a4e6b207b069d30a90ca911f0a09523996f8 (patch)
treec5f121f7162d639830fbf66008d27bd2f8704e65 /gcc/ch
parente5fed9e1c008e73d0ad8fab3a2a4e3751f7c3fe1 (diff)
downloadppe42-gcc-c978a4e6b207b069d30a90ca911f0a09523996f8.tar.gz
ppe42-gcc-c978a4e6b207b069d30a90ca911f0a09523996f8.zip
* c-parse.in (language_string): Constify.
* dwarf2out.c (language_string): Remove declaration. * dwarfout.c (language_string): Likewise. * toplev.c (language_string, init_parse, finish_parse): Likewise. * tree.h (language_string, init_parse, finish_parse): Declare. * i386/sun386.h (language_string): Remove declaration. * mips.h (language_string): Likewise. * nextstep.h (language_string): Likewise. * nextstep21.h (language_string): Likewise. * rs6000.c (language_string): Likewise. In ch: * parse.c (language_string): Constify. In cp: * parse.y (language_string): Constify. In f: * com.c (language_string): Constify. In java: * lang.c (language_string): Constify. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29000 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ch')
-rw-r--r--gcc/ch/ChangeLog4
-rw-r--r--gcc/ch/parse.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog
index 76471e1e83a..09d5c06f2fb 100644
--- a/gcc/ch/ChangeLog
+++ b/gcc/ch/ChangeLog
@@ -1,5 +1,9 @@
1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * parse.c (language_string): Constify.
+
+1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
* Makefile.in (LIBS, LIBDEPS): Link with & depend on libiberty.a.
Remove hacks for stuff which now comes from libiberty.
diff --git a/gcc/ch/parse.c b/gcc/ch/parse.c
index 72d1db68771..36913ce7e4b 100644
--- a/gcc/ch/parse.c
+++ b/gcc/ch/parse.c
@@ -53,7 +53,7 @@ Boston, MA 02111-1307, USA. */
/* Since parsers are distinct for each language, put the
language string definition here. (fnf) */
-char *language_string = "GNU CHILL";
+const char * const language_string = "GNU CHILL";
/* Common code to be done before expanding any action. */
#define INIT_ACTION { \
OpenPOWER on IntegriCloud