summaryrefslogtreecommitdiff
path: root/gcc/genflags.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/genflags.c
parent72bb2c39ce1c3506d94f7e2e7c2db84ee8535add (diff)
downloadgcc-e18476eb94e8679ccd9e12776717944c5f6d52a1.tar.gz
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/genflags.c')
-rw-r--r--gcc/genflags.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/genflags.c b/gcc/genflags.c
index d3102739d88..27296c9f239 100644
--- a/gcc/genflags.c
+++ b/gcc/genflags.c
@@ -179,8 +179,8 @@ gen_proto (rtx insn)
{
putchar ('(');
for (i = 0; i < num-1; i++)
- printf ("rtx %c ATTRIBUTE_UNUSED, ", 'a' + i);
- printf ("rtx %c ATTRIBUTE_UNUSED)\n", 'a' + i);
+ printf ("rtx ARG_UNUSED (%c), ", 'a' + i);
+ printf ("rtx ARG_UNUSED (%c))\n", 'a' + i);
}
else
puts ("(void)");
@@ -287,7 +287,7 @@ main (int argc, char **argv)
/* Define this so we can link with print-rtl.o to get debug_rtx function. */
const char *
-get_insn_name (int code ATTRIBUTE_UNUSED)
+get_insn_name (int ARG_UNUSED (code))
{
return NULL;
}