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.
This commit is contained in:
parent
13123da89a
commit
2698f5ead6
6 changed files with 13 additions and 16 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue