summaryrefslogtreecommitdiff
path: root/gcc/genflags.c
diff options
context:
space:
mode:
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-25 00:13:01 +0000
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-25 00:13:01 +0000
commit9a03a7463c0ab9f76649b99ab9050430cd47ca37 (patch)
tree6ec6310142f700f2527b493abb45b8e621af8dc0 /gcc/genflags.c
parent3b29876427e76f4cf4054a55c5cd6ad403ba61eb (diff)
downloadgcc-9a03a7463c0ab9f76649b99ab9050430cd47ca37.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85128 138bc75d-0d04-0410-961f-82ee72b054a4
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;
}