summaryrefslogtreecommitdiff
path: root/libctf/ctf-impl.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-05-09 12:28:32 +0930
committerAlan Modra <amodra@gmail.com>2021-05-09 12:28:32 +0930
commit4821e618adddf77138279883b72e87c2211418d5 (patch)
tree364806886ad74a695cfc63faf56ac59459e35fec /libctf/ctf-impl.h
parentb05a0fc79b9eed659cf52b4706f11700b92ae4af (diff)
downloadbinutils-gdb-4821e618adddf77138279883b72e87c2211418d5.tar.gz
Use htab_eq_string in libctf
* ctf-impl.h (ctf_dynset_eq_string): Don't declare. * ctf-hash.c (ctf_dynset_eq_string): Delete function. * ctf-dedup.c (make_set_element): Use htab_eq_string. (ctf_dedup_atoms_init, ADD_CITER, ctf_dedup_init): Likewise. (ctf_dedup_conflictify_unshared): Likewise. (ctf_dedup_walk_output_mapping): Likewise.
Diffstat (limited to 'libctf/ctf-impl.h')
-rw-r--r--libctf/ctf-impl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libctf/ctf-impl.h b/libctf/ctf-impl.h
index 342d2ff23e2..80c47239e26 100644
--- a/libctf/ctf-impl.h
+++ b/libctf/ctf-impl.h
@@ -617,8 +617,6 @@ extern int ctf_hash_eq_string (const void *, const void *);
extern int ctf_hash_eq_type_key (const void *, const void *);
extern int ctf_hash_eq_type_id_key (const void *, const void *);
-extern int ctf_dynset_eq_string (const void *, const void *);
-
typedef void (*ctf_hash_free_fun) (void *);
typedef void (*ctf_hash_iter_f) (void *key, void *value, void *arg);