* block.c (block_function): Renamed to ...

(block_linkage_function): ... this.  All callers changed.
	* block.h (block_function): Renamed to ...
	(block_linkage_function): ... this.
This commit is contained in:
Daniel Jacobowitz
2008-07-15 19:11:34 +00:00
parent 54af988d1e
commit 7f0df27888
6 changed files with 20 additions and 10 deletions

View File

@@ -4625,7 +4625,7 @@ remove_irrelevant_renamings (struct ada_symbol_info *syms,
if (current_block == NULL)
return nsyms;
current_function = block_function (current_block);
current_function = block_linkage_function (current_block);
if (current_function == NULL)
return nsyms;
@@ -6721,7 +6721,7 @@ ada_find_renaming_symbol (const char *name, struct block *block)
static struct symbol *
find_old_style_renaming_symbol (const char *name, struct block *block)
{
const struct symbol *function_sym = block_function (block);
const struct symbol *function_sym = block_linkage_function (block);
char *rename;
if (function_sym != NULL)