diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-15 13:43:32 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-15 13:43:32 +0000 |
commit | aecda0d63740bf543c769e6fed70a34cc7f052e3 (patch) | |
tree | 011c105664290fc65aee6e952c836e52aa84f722 /gcc/attribs.c | |
parent | e2ee731bf11cf905827479625d69351f71201055 (diff) | |
download | gcc-aecda0d63740bf543c769e6fed70a34cc7f052e3.tar.gz |
* alloc-pool.c: Convert to ISO C90 prototypes.
* alloc-pool.h: Likewise.
* alias.c: Likewise.
* attribs.c: Likewise.
* bb-reorder.c: Likewise.
* bitmap.h: Likewise.
* bitmap.c: Likewise.
* builtins.c: Likewise.
* tree.h: Convert prototypes of attribs.c to ISO C90.
* basic-block.h: Convert prototypes of bb-reorder.c to ISO C90.
* rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90.
* expr.h: Convert prototypes of builtins.c to ISO C90.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67975 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/attribs.c')
-rw-r--r-- | gcc/attribs.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/gcc/attribs.c b/gcc/attribs.c index 313ebbf5243..6ddacb18348 100644 --- a/gcc/attribs.c +++ b/gcc/attribs.c @@ -1,6 +1,6 @@ /* Functions dealing with attribute handling, used by most front ends. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, - 2002 Free Software Foundation, Inc. + 2002, 2003 Free Software Foundation, Inc. This file is part of GCC. @@ -35,7 +35,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "target.h" #include "langhooks.h" -static void init_attributes PARAMS ((void)); +static void init_attributes (void); /* Table of the tables of attributes (common, language, format, machine) searched. */ @@ -53,7 +53,7 @@ static const struct attribute_spec empty_attribute_table[] = if --enable-checking. */ static void -init_attributes () +init_attributes (void) { size_t i; @@ -141,9 +141,7 @@ init_attributes () and ATTR_FLAG_BUILT_IN set. */ tree -decl_attributes (node, attributes, flags) - tree *node, attributes; - int flags; +decl_attributes (tree *node, tree attributes, int flags) { tree a; tree returned_attrs = NULL_TREE; @@ -317,9 +315,7 @@ decl_attributes (node, attributes, flags) resulting attributes together the way decl_attributes expects them. */ void -split_specs_attrs (specs_attrs, declspecs, prefix_attributes) - tree specs_attrs; - tree *declspecs, *prefix_attributes; +split_specs_attrs (tree specs_attrs, tree *declspecs, tree *prefix_attributes) { tree t, s, a, next, specs, attrs; @@ -394,8 +390,7 @@ split_specs_attrs (specs_attrs, declspecs, prefix_attributes) A warning is issued for every ignored attribute. */ tree -strip_attrs (specs_attrs) - tree specs_attrs; +strip_attrs (tree specs_attrs) { tree specs, attrs; @@ -410,4 +405,3 @@ strip_attrs (specs_attrs) return specs; } - |