diff options
author | Tom Tromey <tom@tromey.com> | 2021-05-07 09:18:18 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-05-07 09:18:18 -0600 |
commit | 2698f5ead62298979e44a212023027ebb582f3d1 (patch) | |
tree | 860ea79a3e5a70c56ec2fb16b0c7d4a7e2d62dcb /gdb/utils.h | |
parent | 13123da89a2c7e06a5312ca6b4b24c68ba1c6c2d (diff) | |
download | binutils-2698f5ead62298979e44a212023027ebb582f3d1.zip binutils-2698f5ead62298979e44a212023027ebb582f3d1.tar.gz binutils-2698f5ead62298979e44a212023027ebb582f3d1.tar.bz2 |
Remove streq_hash in favor of htab_eq_string
Now that libiberty includes htab_eq_string, we can remove the
identical function from gdb.
gdb/ChangeLog
2021-05-07 Tom Tromey <tom@tromey.com>
* breakpoint.c (ambiguous_names_p): Use htab_eq_string.
* utils.c (streq_hash): Remove.
* utils.h (streq_hash): Don't declare.
* completer.c (completion_tracker::discard_completions): Update
comment.
* ada-lang.c (_initialize_ada_language): Use htab_eq_string.
Diffstat (limited to 'gdb/utils.h')
-rw-r--r-- | gdb/utils.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/utils.h b/gdb/utils.h index b91e0d1..94d37c5 100644 --- a/gdb/utils.h +++ b/gdb/utils.h @@ -99,11 +99,6 @@ extern int strcmp_iw_ordered (const char *, const char *); extern bool streq (const char *, const char *); -/* A variant of streq that is suitable for use as an htab - callback. */ - -extern int streq_hash (const void *, const void *); - extern int subset_compare (const char *, const char *); /* Compare C strings for std::sort. */ |