aboutsummaryrefslogtreecommitdiff
path: root/gcc/plugin.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-04-29 14:10:39 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-04-29 14:10:39 +0000
commit46e70c4ead6b119b07fde234427b6911c2e6816d (patch)
tree05c76527f3873016a909da223d2ee4a76c0e1381 /gcc/plugin.h
parent0d0539f0a81f167dfcf9adeeff25eb74384cdcc6 (diff)
downloadgcc-46e70c4ead6b119b07fde234427b6911c2e6816d.zip
gcc-46e70c4ead6b119b07fde234427b6911c2e6816d.tar.gz
gcc-46e70c4ead6b119b07fde234427b6911c2e6816d.tar.bz2
re PR bootstrap/43935 (Bootstrap failure: cc1: all warnings being treated as errors)
2010-04-29 Richard Guenther <rguenther@suse.de> PR bootstrap/43935 * plugin.h (invoke_plugin_callbacks): Annotate arguments with ATTRIBUTE_UNUSED. From-SVN: r158901
Diffstat (limited to 'gcc/plugin.h')
-rw-r--r--gcc/plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/plugin.h b/gcc/plugin.h
index 13628ec9..94663dd 100644
--- a/gcc/plugin.h
+++ b/gcc/plugin.h
@@ -44,7 +44,8 @@ extern void finalize_plugins (void);
GCC_DATA - event-specific data provided by the compiler */
static inline int
-invoke_plugin_callbacks (int event, void *gcc_data)
+invoke_plugin_callbacks (int event ATTRIBUTE_UNUSED,
+ void *gcc_data ATTRIBUTE_UNUSED)
{
#ifdef ENABLE_PLUGIN
/* True iff at least one plugin has been added. */