Commit fa74c0f6 by Kaveh R. Ghazi Committed by Kaveh Ghazi

* lang.c (chill_print_error_function): Constify a char*.

From-SVN: r28967
parent 5f8ded66
1999-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* lang.c (chill_print_error_function): Constify a char*.
1999-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (ch-version.c): Constify a char*.
* actions.c (id_cmp, warn_unhandled, adjust_return_value,
......
......@@ -265,8 +265,8 @@ chill_print_error_function (file)
}
else
{
char *kind = "function";
char *name = (*decl_printable_name) (current_function_decl, 2);
const char *kind = "function";
const char *name = (*decl_printable_name) (current_function_decl, 2);
fprintf (stderr, "In %s `%s':\n", kind, name);
}
}
......
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