summaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2007-09-19 12:08:34 +0000
committerAlan Modra <amodra@bigpond.net.au>2007-09-19 12:08:34 +0000
commit8069ec8aeb62eb1c247f8b49b622d9fe41deb7a8 (patch)
treea59ce0cbad66e3d8e4e44c6705341359b46e45f0 /bfd/bfd-in.h
parent70db70bc514c9eb1a3ebe91641c407c453c7499a (diff)
downloadbinutils-redhat-8069ec8aeb62eb1c247f8b49b622d9fe41deb7a8.tar.gz
* bfd-in.h (bfd_hash_insert): Declare.
* bfd-in2.h: Regenerate. * hash.c (bfd_hash_insert): New function. Split out from.. (bfd_hash_lookup): ..here. * merge.c (sec_merge_hash_lookup): Use bfd_hash_insert.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 2e70a7391f..07fdf03649 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -464,6 +464,10 @@ extern struct bfd_hash_entry *bfd_hash_lookup
(struct bfd_hash_table *, const char *, bfd_boolean create,
bfd_boolean copy);
+/* Insert an entry in a hash table. */
+extern struct bfd_hash_entry *bfd_hash_insert
+ (struct bfd_hash_table *, const char *, unsigned long);
+
/* Replace an entry in a hash table. */
extern void bfd_hash_replace
(struct bfd_hash_table *, struct bfd_hash_entry *old,