diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-09 23:38:41 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-09 23:38:41 +0000 |
commit | 6c31a901b2c4c4438aafaae5d94eb717002479a5 (patch) | |
tree | cd91fe7eb3d0e0ce44e6dcba69e73f071c3f67b0 /gcc/tree.h | |
parent | 5b7e26cc444fbd2e82788cfa950a538314990dd5 (diff) | |
download | gcc-6c31a901b2c4c4438aafaae5d94eb717002479a5.tar.gz |
* tree.h (lang_identify): Constify a char*.
(print_error_function): Add extern prototype. Constify a char*.
* c-lang.c (lang_identify): Constify a char*.
* objc/objc-act.c (lang_identify): Constify a char*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28631 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h index 8380560e8ee..a56b202a268 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2077,7 +2077,11 @@ extern void lang_init PROTO((void)); extern void lang_finish PROTO((void)); /* Function to identify which front-end produced the output file. */ -extern char *lang_identify PROTO((void)); +extern const char *lang_identify PROTO((void)); + +/* Called by report_error_function to print out function name. + * Default may be overridden by language front-ends. */ +extern void (*print_error_function) PROTO((const char *)); /* Function to replace the DECL_LANG_SPECIFIC field of a DECL with a copy. */ extern void copy_lang_decl PROTO((tree)); |