dbghelp: Remove unused function.

This commit is contained in:
Andrew Talbot 2009-02-04 20:39:36 +00:00 committed by Alexandre Julliard
parent 75572fdb0c
commit 5b60142f94
2 changed files with 0 additions and 13 deletions

View File

@ -92,7 +92,6 @@ void hash_table_init(struct pool* pool, struct hash_table* ht,
unsigned num_buckets); unsigned num_buckets);
void hash_table_destroy(struct hash_table* ht); void hash_table_destroy(struct hash_table* ht);
void hash_table_add(struct hash_table* ht, struct hash_table_elt* elt); void hash_table_add(struct hash_table* ht, struct hash_table_elt* elt);
void* hash_table_find(const struct hash_table* ht, const char* name);
struct hash_table_iter struct hash_table_iter
{ {

View File

@ -396,18 +396,6 @@ void hash_table_add(struct hash_table* ht, struct hash_table_elt* elt)
ht->num_elts++; ht->num_elts++;
} }
void* hash_table_find(const struct hash_table* ht, const char* name)
{
unsigned hash = hash_table_hash(name, ht->num_buckets);
struct hash_table_elt* elt;
if(!ht->buckets) return NULL;
for (elt = ht->buckets[hash]; elt; elt = elt->next)
if (!strcmp(name, elt->name)) return elt;
return NULL;
}
void hash_table_iter_init(const struct hash_table* ht, void hash_table_iter_init(const struct hash_table* ht,
struct hash_table_iter* hti, const char* name) struct hash_table_iter* hti, const char* name)
{ {