aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-format.c
diff options
context:
space:
mode:
authorBernardo Innocenti <bernie@develer.com>2004-07-25 02:13:01 +0200
committerBernardo Innocenti <bernie@gcc.gnu.org>2004-07-25 02:13:01 +0200
commite18476eb94e8679ccd9e12776717944c5f6d52a1 (patch)
tree6ec6310142f700f2527b493abb45b8e621af8dc0 /gcc/c-format.c
parent72bb2c39ce1c3506d94f7e2e7c2db84ee8535add (diff)
downloadgcc-e18476eb94e8679ccd9e12776717944c5f6d52a1.zip
gcc-e18476eb94e8679ccd9e12776717944c5f6d52a1.tar.gz
gcc-e18476eb94e8679ccd9e12776717944c5f6d52a1.tar.bz2
c-common.c: Convert ATTRIBUTE_UNUSED to ARG_UNUSED in parameter lists.
* c-common.c: Convert ATTRIBUTE_UNUSED to ARG_UNUSED in parameter lists. * c-decl.c: Likewise. * c-format.c: Likewise. * c-lex.c: Likewise. * c-opts.c: Likewise. * c-pragma.c: Likewise. * c-typeck.c: Likewise. * gencheck.c: Likewise. * genconditions.c: Likewise. * genconfig.c: Likewise. * genflags.c: Likewise. * gengtype.c: Likewise. * gensupport.c: Likewise. * ggc-none.c: Likewise. * langhooks.c: Likewise. * statistics.h: Likewise. * stub-objc.c: Likewise. * java/decl.c: Likewise. From-SVN: r85128
Diffstat (limited to 'gcc/c-format.c')
-rw-r--r--gcc/c-format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-format.c b/gcc/c-format.c
index 4aff5f2..37a58c2 100644
--- a/gcc/c-format.c
+++ b/gcc/c-format.c
@@ -83,7 +83,7 @@ static bool get_constant (tree expr, unsigned HOST_WIDE_INT *value,
/* Handle a "format_arg" attribute; arguments as in
struct attribute_spec.handler. */
tree
-handle_format_arg_attribute (tree *node, tree name ATTRIBUTE_UNUSED,
+handle_format_arg_attribute (tree *node, tree ARG_UNUSED (name),
tree args, int flags, bool *no_add_attrs)
{
tree type = *node;
@@ -2457,7 +2457,7 @@ extern const format_kind_info TARGET_FORMAT_TYPES[];
/* Handle a "format" attribute; arguments as in
struct attribute_spec.handler. */
tree
-handle_format_attribute (tree *node, tree name ATTRIBUTE_UNUSED, tree args,
+handle_format_attribute (tree *node, tree ARG_UNUSED (name), tree args,
int flags, bool *no_add_attrs)
{
tree type = *node;