From 26ca6c20d7d4a617492ff36de39dd6db5f954c9f Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 27 Mar 2002 23:16:17 +0000 Subject: * 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 --- gcc/ada/misc.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'gcc/ada/misc.c') diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index 5a2c68ae470..000e6046ce5 100644 --- a/gcc/ada/misc.c +++ b/gcc/ada/misc.c @@ -801,14 +801,6 @@ gnat_get_alias_set (type) return -1; } -/* Set default attributes for functions. We do nothing. */ - -void -insert_default_attributes (decl) - tree decl ATTRIBUTE_UNUSED; -{ -} - /* GNU_TYPE is a type. Determine if it should be passed by reference by default. */ -- cgit v1.2.3