+1999-08-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * decl.c: Remove redundant prototype for `print_error_function'.
+ (lang_print_error_function): Constify a char*.
+
+ * lex.c (lang_identify): Likewise.
+
1999-08-09 Bernd Schmidt <bernds@cygnus.co.uk>
* Makefile.in: Update dependencies.
extern tree current_namespace;
extern tree global_namespace;
-extern void (*print_error_function) PROTO((char *));
extern int (*valid_lang_attribute) PROTO ((tree, tree, tree, tree));
/* Obstack used for remembering local class declarations (like
static int member_function_or_else PROTO((tree, tree, const char *));
static void bad_specifiers PROTO((tree, const char *, int, int, int, int,
int));
-static void lang_print_error_function PROTO((char *));
+static void lang_print_error_function PROTO((const char *));
static tree maybe_process_template_type_declaration PROTO((tree, int, struct binding_level*));
static void check_for_uninitialized_const_var PROTO((tree));
static unsigned long typename_hash PROTO((hash_table_key));
static void
lang_print_error_function (file)
- char *file;
+ const char *file;
{
default_print_error_function (file);
maybe_print_template_context ();