summaryrefslogtreecommitdiff
path: root/gcc/c-parse.c
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/c-parse.c
parente5fed9e1c008e73d0ad8fab3a2a4e3751f7c3fe1 (diff)
downloadgcc-c978a4e6b207b069d30a90ca911f0a09523996f8.tar.gz
* 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/c-parse.c')
-rw-r--r--gcc/c-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-parse.c b/gcc/c-parse.c
index ff2b2294b24..063d3db006e 100644
--- a/gcc/c-parse.c
+++ b/gcc/c-parse.c
@@ -88,7 +88,7 @@
/* Since parsers are distinct for each language, put the language string
definition here. */
-char *language_string = "GNU C";
+const char * const language_string = "GNU C";
/* Like YYERROR but do call yyerror. */
#define YYERROR1 { yyerror ("syntax error"); YYERROR; }