summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-06 10:56:46 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-06 10:56:46 +0000
commit4e5eae00f839330a25ba8f7387cde1ee11d118be (patch)
treec7e42c363006c8f5117c3cc3d7f702229bdfe322 /gcc/diagnostic.c
parent207ef34c9aa88350caca0f28dcbfb864ba5c76f9 (diff)
downloadgcc-4e5eae00f839330a25ba8f7387cde1ee11d118be.tar.gz
* diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94671 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index c25c0ec5472..eb1037a5c3a 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);
}