OSDN Git Service

* diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.
[pf3gnuchains/gcc-fork.git] / gcc / diagnostic.c
index c25c0ec..eb1037a 100644 (file)
@@ -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);
 }