From e18476eb94e8679ccd9e12776717944c5f6d52a1 Mon Sep 17 00:00:00 2001 From: Bernardo Innocenti Date: Sun, 25 Jul 2004 02:13:01 +0200 Subject: 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 --- gcc/stub-objc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'gcc/stub-objc.c') diff --git a/gcc/stub-objc.c b/gcc/stub-objc.c index e1b964995bf..fc1afe0eff6 100644 --- a/gcc/stub-objc.c +++ b/gcc/stub-objc.c @@ -28,37 +28,37 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "c-common.h" tree -lookup_interface (tree arg ATTRIBUTE_UNUSED) +lookup_interface (tree ARG_UNUSED (arg)) { return 0; } tree -is_class_name (tree arg ATTRIBUTE_UNUSED) +is_class_name (tree ARG_UNUSED (arg)) { return 0; } tree -objc_is_object_ptr (tree arg ATTRIBUTE_UNUSED) +objc_is_object_ptr (tree ARG_UNUSED (arg)) { return 0; } tree -lookup_objc_ivar (tree arg ATTRIBUTE_UNUSED) +lookup_objc_ivar (tree ARG_UNUSED (arg)) { return 0; } void -objc_check_decl (tree decl ATTRIBUTE_UNUSED) +objc_check_decl (tree ARG_UNUSED (decl)) { } int -objc_comptypes (tree lhs ATTRIBUTE_UNUSED, tree rhs ATTRIBUTE_UNUSED, - int reflexive ATTRIBUTE_UNUSED) +objc_comptypes (tree ARG_UNUSED (lhs), tree ARG_UNUSED (rhs), + int ARG_UNUSED (reflexive)) { return -1; } @@ -75,7 +75,7 @@ objc_clear_super_receiver (void) } int -objc_is_public (tree expr ATTRIBUTE_UNUSED, tree identifier ATTRIBUTE_UNUSED) +objc_is_public (tree ARG_UNUSED (expr), tree ARG_UNUSED (identifier)) { return 1; } -- cgit v1.2.1