aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>2000-08-15 17:21:12 -0400
committerRichard Kenner <kenner@gcc.gnu.org>2000-08-15 17:21:12 -0400
commit43b45e9412666bbca236671eb66284847951a2e6 (patch)
tree7de5257933eb4f46d5ff0bb085d32477aaacc543 /gcc/diagnostic.h
parent568472074acbbbb5ea2964161c9eb26fd5f55a0b (diff)
downloadgcc-43b45e9412666bbca236671eb66284847951a2e6.zip
gcc-43b45e9412666bbca236671eb66284847951a2e6.tar.gz
gcc-43b45e9412666bbca236671eb66284847951a2e6.tar.bz2
diagnostic.c (fatal_function): New variable.
* diagnostic.c (fatal_function): New variable. (set_fatal_function): New function. (fatal): Call it. * diagnostic.h (set_fatal_function): New declaration. From-SVN: r35731
Diffstat (limited to 'gcc/diagnostic.h')
-rw-r--r--gcc/diagnostic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h
index 6a392e3..4108227 100644
--- a/gcc/diagnostic.h
+++ b/gcc/diagnostic.h
@@ -101,6 +101,8 @@ extern int diagnostic_message_length_per_line;
extern output_buffer *diagnostic_buffer;
/* Prototypes */
+void set_fatal_function PARAMS ((void (*) PARAMS ((const char *,
+ va_list *))));
void report_diagnostic PARAMS ((const char *, va_list *,
const char *, int, int));
void initialize_diagnostics PARAMS ((void));