summaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2005-11-18 23:40:29 +0000
committerMike Stump <mrs@gcc.gnu.org>2005-11-18 23:40:29 +0000
commit7bbd0aab4cbbb32562e015d10419d4c1616104bb (patch)
tree4485e94760f589adf0f27e512f1e74736da95b8d /gcc/c-tree.h
parent186abafe49fabf3f0ee8a58c54c36e256846172e (diff)
downloadgcc-7bbd0aab4cbbb32562e015d10419d4c1616104bb.tar.gz
c-common.c (handle_cleanup_attribute): Use a lang hook for lookup_name.
* c-common.c (handle_cleanup_attribute): Use a lang hook for lookup_name. * config/darwin-c.c (darwin_pragma_unused): Likewise. * c-decl.c (lookup_name_two) Remove. * c-tree.h (lookup_name_two): Remove. * c-objc-common.h (LANG_HOOKS_LOOKUP_NAME): Add. * langhooks-def.h (LANG_HOOKS_LOOKUP_NAME): Add. (LANG_HOOKS_DECLS): Add initializer for LANG_HOOKS_LOOKUP_NAME. * langhooks.h (lang_hooks_for_decls): Add lookup_name. cp: * cp-objcp-common.h (LANG_HOOKS_LOOKUP_NAME): Add. * name-lookup.c (lookup_name_two): Remove. (lookup_name_one): Add. * name-lookup.h (lookup_name_two): Remove. (lookup_name_one): Add. From-SVN: r107196
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r--gcc/c-tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index 0399e893e3a..0894317e574 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -455,7 +455,6 @@ extern tree grokparm (const struct c_parm *);
extern tree implicitly_declare (tree);
extern void keep_next_level (void);
extern tree lookup_name (tree);
-extern tree lookup_name_two (tree, int);
extern void pending_xref_error (void);
extern void c_push_function_context (struct function *);
extern void c_pop_function_context (struct function *);