aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-pragma.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-pragma.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-pragma.c')
-rw-r--r--gcc/c-pragma.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/c-pragma.c b/gcc/c-pragma.c
index ba59fb3..11e14be 100644
--- a/gcc/c-pragma.c
+++ b/gcc/c-pragma.c
@@ -155,7 +155,7 @@ pop_alignment (tree id)
#pragma pack (pop)
#pragma pack (pop, ID) */
static void
-handle_pragma_pack (cpp_reader *dummy ATTRIBUTE_UNUSED)
+handle_pragma_pack (cpp_reader * ARG_UNUSED (dummy))
{
tree x, id = 0;
int align = -1;
@@ -315,7 +315,7 @@ maybe_apply_pragma_weak (tree decl)
/* #pragma weak name [= value] */
static void
-handle_pragma_weak (cpp_reader *dummy ATTRIBUTE_UNUSED)
+handle_pragma_weak (cpp_reader * ARG_UNUSED (dummy))
{
tree name, value, x, decl;
enum cpp_ttype t;
@@ -346,7 +346,7 @@ handle_pragma_weak (cpp_reader *dummy ATTRIBUTE_UNUSED)
}
#else
void
-maybe_apply_pragma_weak (tree decl ATTRIBUTE_UNUSED)
+maybe_apply_pragma_weak (tree ARG_UNUSED (decl))
{
}
#endif /* HANDLE_PRAGMA_WEAK */
@@ -389,7 +389,7 @@ static void handle_pragma_redefine_extname (cpp_reader *);
/* #pragma redefine_extname oldname newname */
static void
-handle_pragma_redefine_extname (cpp_reader *dummy ATTRIBUTE_UNUSED)
+handle_pragma_redefine_extname (cpp_reader * ARG_UNUSED (dummy))
{
tree oldname, newname, decl, x;
enum cpp_ttype t;
@@ -458,7 +458,7 @@ static GTY(()) tree pragma_extern_prefix;
/* #pragma extern_prefix "prefix" */
static void
-handle_pragma_extern_prefix (cpp_reader *dummy ATTRIBUTE_UNUSED)
+handle_pragma_extern_prefix (cpp_reader * ARG_UNUSED (dummy))
{
tree prefix, x;
enum cpp_ttype t;