summaryrefslogtreecommitdiffstats
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-27 23:16:17 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-27 23:16:17 +0000
commit26ca6c20d7d4a617492ff36de39dd6db5f954c9f (patch)
tree27099856cce240c3bcd83ede60b64841aa5a0aa9 /gcc/c-decl.c
parentf457b1b8350ea26180d60c739dfd7258552ee41a (diff)
downloadppe42-gcc-26ca6c20d7d4a617492ff36de39dd6db5f954c9f.tar.gz
ppe42-gcc-26ca6c20d7d4a617492ff36de39dd6db5f954c9f.zip
* Makefile.in (attribs.o): Update.
* attribs.c: Include langhooks.h. (decl_attributes): Use langhook. * c-decl.c (insert_default_attributes): Rename. * c-tree.h (c_insert_default_attributes): New. * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.h (struct lang_hooks): New hook. * tree.h (insert_default_attributes): Remove. ada: * misc.c (insert_default_attributes): Remove. cp: * cp-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. * cp-tree.h (cxx_insert_default_attributes): New. * decl.c (insert_default_attributes): Rename. objc: * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51488 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index e1d104d4fc9..620a16f5d5d 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -3087,7 +3087,7 @@ builtin_function (name, type, function_code, class, library_name)
attributes. */
void
-insert_default_attributes (decl)
+c_insert_default_attributes (decl)
tree decl;
{
if (!TREE_PUBLIC (decl))
OpenPOWER on IntegriCloud