summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.h
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-18 08:40:32 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-18 08:40:32 +0000
commitfcb2cdc1ebd7a811dc8946aed28f371144d58c24 (patch)
tree408c67b67b9b53588977593ecb6b22fdb4787f2d /gcc/diagnostic.h
parent4443958b7e14f0132f978466175b36385a64f1ff (diff)
downloadgcc-fcb2cdc1ebd7a811dc8946aed28f371144d58c24.tar.gz
2000-07-17 Gabriel Dos Reis <gdr@codesourcery.com>
* diagnostic.h (report_diagnostic): Change prototype. * diagnostic.c (output_do_verbatim, diagnostic_for_asm, diagnostic_for_decl): Change prototype. (error_with_decl, warning_with_decl, pedwarn_with_decl, warning, error, warning, error_with_file_and_line, warning_with_file_and_line, pedwarn_with_file_and_line, fatal): Adjust call to report_diagnostic, diagnostic_for_decl. (error_for_asm, warning_for_asm): Adjust call to diagnostic_for_asm. (output_verbatim, verbatim): Adjust call to output_do_verbatim. * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. End varaible argument list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35116 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.h')
-rw-r--r--gcc/diagnostic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h
index a81aa8abb80..6a392e38eb4 100644
--- a/gcc/diagnostic.h
+++ b/gcc/diagnostic.h
@@ -101,7 +101,7 @@ extern int diagnostic_message_length_per_line;
extern output_buffer *diagnostic_buffer;
/* Prototypes */
-void report_diagnostic PARAMS ((const char *, va_list,
+void report_diagnostic PARAMS ((const char *, va_list *,
const char *, int, int));
void initialize_diagnostics PARAMS ((void));
void reshape_diagnostic_buffer PARAMS ((void));