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

From-SVN: r28967
This commit is contained in:
Kaveh R. Ghazi 1999-08-29 13:44:41 +00:00 committed by Kaveh Ghazi
parent 5f8ded6628
commit fa74c0f64c
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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*.

View File

@ -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);
}
}