From 46f018e13847446f543aa9b396de15c9e322f8b3 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Thu, 28 Jun 2001 12:26:38 +0000 Subject: diagnostic.c (default_print_error_function): Tweak. * diagnostic.c (default_print_error_function): Tweak. (report_error_function): Likewise. * toplev.h (default_print_error_function): Move to... * diagnostic.h: ...here. Add a `diagnostic_context *' parameter. * tree.h (print_error_function): Move to... * diagnostic.h: ...here. Add a `diagnostic_context *' parameter. ch/ * lang.c: #include diagnostic.h (chill_print_error_function): Add a dummy `diagnostic_context *'. * Makefile.in (lang.o): Depend on diagnostic.h cp/ * error.c (lang_print_error_function): Add a `diagnostic_context *' parameter. Tweak. f/ * Make-lang.in (f/com.o): Depend on diagnostic.h * com.c: #include diagnostic.h (lang_print_error_function): Take a 'diagnostic_context *'. java/ * lang.c: #include diagnostic.h (lang_print_error): Add a `diagnostic_context *' parameter. (java_dummy_print): Likewise. * Make-lang.in (JAVA_LEX_C): Depend on diagnostic.h From-SVN: r43638 --- gcc/toplev.h | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc/toplev.h') diff --git a/gcc/toplev.h b/gcc/toplev.h index ca09e0ef2e8..2a6dad13dd7 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -84,7 +84,6 @@ extern void error_with_file_and_line PARAMS ((const char *, int, ATTRIBUTE_PRINTF_3; extern void sorry PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1; -extern void default_print_error_function PARAMS ((const char *)); extern void report_error_function PARAMS ((const char *)); extern void rest_of_decl_compilation PARAMS ((union tree_node *, -- cgit v1.2.1