summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.h
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@codesourcery.com>2000-07-18 08:40:32 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2000-07-18 08:40:32 +0000
commite81b4d6305ef9885149e87d374a909e8ff442edb (patch)
tree408c67b67b9b53588977593ecb6b22fdb4787f2d /gcc/diagnostic.h
parent485c3e11a009cf2f7859e74fec35531435a4a867 (diff)
downloadgcc-e81b4d6305ef9885149e87d374a909e8ff442edb.tar.gz
diagnostic.h (report_diagnostic): Change prototype.
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. From-SVN: r35116
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));