Commit c9591059 by Kaveh R. Ghazi Committed by Kaveh Ghazi

tree.h (lang_identify): Constify a char*.

        * 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*.

From-SVN: r28631
parent 63ac1f08
Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* 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*.
Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* genpeep.c (main): Make generated file include "function.h".
......
......@@ -75,7 +75,7 @@ lang_finish ()
{
}
char *
const char *
lang_identify ()
{
return "c";
......
......@@ -682,7 +682,7 @@ lang_finish ()
{
}
char *
const char *
lang_identify ()
{
return "objc";
......
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment