Commit fe0aaaa5 by Kaveh R. Ghazi Committed by Kaveh Ghazi

actions.c (lang_identify): Constify a char*.

        * actions.c (lang_identify): Constify a char*.

        * lang.c (chill_print_error_function): Likewise.
        (lang_init): Remove redundant prototype for `print_error_function'.

From-SVN: r28632
parent c9591059
1999-08-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* actions.c (lang_identify): Constify a char*.
* lang.c (chill_print_error_function): Likewise.
(lang_init): Remove redundant prototype for `print_error_function'.
1999-07-25 Richard Henderson <rth@cygnus.com> 1999-07-25 Richard Henderson <rth@cygnus.com>
* decl.c (va_list_type_node): New. * decl.c (va_list_type_node): New.
......
...@@ -64,7 +64,7 @@ extern char *dump_base_name; ...@@ -64,7 +64,7 @@ extern char *dump_base_name;
grant file written, generating no code. */ grant file written, generating no code. */
int grant_only_flag = 0; int grant_only_flag = 0;
char * const char *
lang_identify () lang_identify ()
{ {
return "chill"; return "chill";
......
...@@ -236,7 +236,7 @@ lang_decode_option (argc, argv) ...@@ -236,7 +236,7 @@ lang_decode_option (argc, argv)
void void
chill_print_error_function (file) chill_print_error_function (file)
char *file; const char *file;
{ {
static tree last_error_function = NULL_TREE; static tree last_error_function = NULL_TREE;
static struct module *last_error_module = NULL; static struct module *last_error_module = NULL;
...@@ -283,8 +283,6 @@ incomplete_type_error (value, type) ...@@ -283,8 +283,6 @@ incomplete_type_error (value, type)
void void
lang_init () lang_init ()
{ {
extern void (*print_error_function) PROTO((char*));
chill_real_input_filename = input_filename; chill_real_input_filename = input_filename;
/* the beginning of the file is a new line; check for # */ /* the beginning of the file is a new line; check for # */
......
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