aboutsummaryrefslogtreecommitdiff
path: root/gcc/tlink.c
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>1999-08-04 09:41:48 +0200
committerJeff Law <law@gcc.gnu.org>1999-08-04 01:41:48 -0600
commit0c26b18a0dbb2225f7524b1c83f9d88ad1966bdc (patch)
tree9f9e3ab74616454d4cebbc4a8862fe2bf3e95d76 /gcc/tlink.c
parent6d368e86d0a68776e5eb06d7bb90a6ca360ac837 (diff)
downloadgcc-0c26b18a0dbb2225f7524b1c83f9d88ad1966bdc.zip
gcc-0c26b18a0dbb2225f7524b1c83f9d88ad1966bdc.tar.gz
gcc-0c26b18a0dbb2225f7524b1c83f9d88ad1966bdc.tar.bz2
tlink.c (symbol_hash_lookup): Do not prefix functions used as function parameters with `&'.
* tlink.c (symbol_hash_lookup): Do not prefix functions used as function parameters with `&'. (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto. From-SVN: r28485
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r--gcc/tlink.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c
index 9f058c9..e097270 100644
--- a/gcc/tlink.c
+++ b/gcc/tlink.c
@@ -141,7 +141,7 @@ symbol_hash_lookup (string, create)
{
return ((struct symbol_hash_entry *)
hash_lookup (&symbol_table, (hash_table_key) string,
- create, &string_copy));
+ create, string_copy));
}
static struct hash_table file_table;
@@ -178,7 +178,7 @@ file_hash_lookup (string)
{
return ((struct file_hash_entry *)
hash_lookup (&file_table, (hash_table_key) string, true,
- &string_copy));
+ string_copy));
}
static struct hash_table demangled_table;
@@ -213,7 +213,7 @@ demangled_hash_lookup (string, create)
{
return ((struct demangled_hash_entry *)
hash_lookup (&demangled_table, (hash_table_key) string,
- create, &string_copy));
+ create, string_copy));
}
/* Stack code. */
@@ -298,12 +298,12 @@ tlink_init ()
{
char *p;
- hash_table_init (&symbol_table, symbol_hash_newfunc, &string_hash,
- &string_compare);
- hash_table_init (&file_table, file_hash_newfunc, &string_hash,
- &string_compare);
+ hash_table_init (&symbol_table, symbol_hash_newfunc, string_hash,
+ string_compare);
+ hash_table_init (&file_table, file_hash_newfunc, string_hash,
+ string_compare);
hash_table_init (&demangled_table, demangled_hash_newfunc,
- &string_hash, &string_compare);
+ string_hash, string_compare);
obstack_begin (&symbol_stack_obstack, 0);
obstack_begin (&file_stack_obstack, 0);