aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h
index a73cbf8ecea..00646132d58 100644
--- a/gcc/toplev.h
+++ b/gcc/toplev.h
@@ -63,9 +63,8 @@ extern bool warning_at (location_t, int, const char *, ...)
extern void error (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2);
extern void fatal_error (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2)
ATTRIBUTE_NORETURN;
-/* Pass one of the OPT_W* from options.h as the first parameter. */
-extern bool pedwarn (int, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3);
-extern bool pedwarn_at (location_t, int, const char *, ...)
+/* Pass one of the OPT_W* from options.h as the second parameter. */
+extern bool pedwarn (location_t, int, const char *, ...)
ATTRIBUTE_GCC_DIAG(3,4);
extern bool permerror (location_t, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3);
extern void sorry (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2);