* lang.c (chill_print_error_function): Constify a char*.
From-SVN: r28967
This commit is contained in:
parent
5f8ded6628
commit
fa74c0f64c
@ -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*.
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user