diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-15 21:21:12 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-15 21:21:12 +0000 |
commit | 7b1cf904fe83cbacf1349b8c0ab35749f4bc73bf (patch) | |
tree | 7de5257933eb4f46d5ff0bb085d32477aaacc543 /gcc/diagnostic.h | |
parent | d73561b9ea1ca108f03b4b0e24ff20e22fe50521 (diff) | |
download | ppe42-gcc-7b1cf904fe83cbacf1349b8c0ab35749f4bc73bf.tar.gz ppe42-gcc-7b1cf904fe83cbacf1349b8c0ab35749f4bc73bf.zip |
* diagnostic.c (fatal_function): New variable.
(set_fatal_function): New function.
(fatal): Call it.
* diagnostic.h (set_fatal_function): New declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35731 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.h')
-rw-r--r-- | gcc/diagnostic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h index 6a392e38eb4..4108227f50b 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)); |