diff options
author | Alan Modra <amodra@gmail.com> | 2021-05-09 12:28:32 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-05-09 12:28:32 +0930 |
commit | 4821e618adddf77138279883b72e87c2211418d5 (patch) | |
tree | 364806886ad74a695cfc63faf56ac59459e35fec /libctf/ctf-impl.h | |
parent | b05a0fc79b9eed659cf52b4706f11700b92ae4af (diff) | |
download | gdb-4821e618adddf77138279883b72e87c2211418d5.zip gdb-4821e618adddf77138279883b72e87c2211418d5.tar.gz gdb-4821e618adddf77138279883b72e87c2211418d5.tar.bz2 |
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.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libctf/ctf-impl.h b/libctf/ctf-impl.h index 342d2ff..80c4723 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); |