summaryrefslogtreecommitdiffstats
path: root/gcc/c-pragma.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/c-pragma.c
parent3b29876427e76f4cf4054a55c5cd6ad403ba61eb (diff)
downloadppe42-gcc-9a03a7463c0ab9f76649b99ab9050430cd47ca37.tar.gz
ppe42-gcc-9a03a7463c0ab9f76649b99ab9050430cd47ca37.zip
* 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/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 ba59fb3a589..11e14be5157 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;
OpenPOWER on IntegriCloud