From e3f05c4e92cbf9464253d7886899204fe7b9e0b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20L=C3=B3pez-Ib=C3=A1=C3=B1ez?= Date: Wed, 13 Aug 2008 12:26:18 +0000 Subject: [PATCH] toplev.h (pedwarn_at): Fix declaration. 2008-08-13 Manuel Lopez-Ibanez * toplev.h (pedwarn_at): Fix declaration. From-SVN: r139054 --- gcc/ChangeLog | 4 ++++ gcc/toplev.h | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 40868383c0a..f07113a13e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-08-13 Manuel Lopez-Ibanez + + * toplev.h (pedwarn_at): Fix declaration. + 2008-08-13 Joseph Myers * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, diff --git a/gcc/toplev.h b/gcc/toplev.h index ae61767035c..ddf46cd7f9d 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -66,6 +66,7 @@ extern void fatal_error (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2) /* 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 *, ...) + ATTRIBUTE_GCC_DIAG(3,4); extern bool permerror (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2); extern bool permerror_at (location_t, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3);