summaryrefslogtreecommitdiff
path: root/gcc/gcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc.h')
-rw-r--r--gcc/gcc.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/gcc.h b/gcc/gcc.h
index a28567454da..af8f0027ee0 100644
--- a/gcc/gcc.h
+++ b/gcc/gcc.h
@@ -22,6 +22,7 @@ along with GCC; see the file COPYING3. If not see
#define GCC_GCC_H
#include "version.h"
+#include "diagnostic-core.h"
/* The mapping of a spec function name to the C function that
implements it. */
@@ -59,10 +60,6 @@ struct spec_function
/* These are exported by gcc.c. */
extern int do_spec (const char *);
extern void record_temp_file (const char *, int, int);
-extern void fatal_error (const char *, ...)
- ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
-extern void error (const char *, ...) ATTRIBUTE_PRINTF_1;
-extern void warning (int, const char *, ...) ATTRIBUTE_PRINTF_2;
extern void pfatal_with_name (const char *) ATTRIBUTE_NORETURN;
extern void set_input (const char *);