aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMarcin Dalecki <martin@dalecki.de>2005-02-06 11:56:46 +0100
committerRichard Sandiford <rsandifo@gcc.gnu.org>2005-02-06 10:56:46 +0000
commitcbd13f8a73122763e5fa64da27ab4dea17c6a158 (patch)
treec7e42c363006c8f5117c3cc3d7f702229bdfe322 /gcc
parentc1105188df0343cdb77572c90ae81a4c25c10960 (diff)
downloadgcc-cbd13f8a73122763e5fa64da27ab4dea17c6a158.zip
gcc-cbd13f8a73122763e5fa64da27ab4dea17c6a158.tar.gz
gcc-cbd13f8a73122763e5fa64da27ab4dea17c6a158.tar.bz2
* diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.
From-SVN: r94671
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/diagnostic.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 35d8718..ac6651a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-06 Marcin Dalecki <martin@dalecki.de>
+
+ * diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.
+
2005-02-06 Geoffrey Keating <geoffk@apple.com>
* config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index c25c0ec..eb1037a 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -300,7 +300,7 @@ default_diagnostic_starter (diagnostic_context *context,
static void
default_diagnostic_finalizer (diagnostic_context *context,
- diagnostic_info *diagnostic __attribute__((unused)))
+ diagnostic_info *diagnostic ATTRIBUTE_UNUSED)
{
pp_destroy_prefix (context->printer);
}