aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-12-14 12:22:58 -0700
committerTom Tromey <tromey@adacore.com>2022-12-15 12:13:29 -0700
commitc573941878c15ecd8f0985cbe3fb8370abe4c807 (patch)
treed91a9c794cf4ccfde7a4590a8d352f98c9665222 /gdb/utils.h
parent38665d717a3e65c70e6432243d5eed9728a4888a (diff)
downloadbinutils-c573941878c15ecd8f0985cbe3fb8370abe4c807.zip
binutils-c573941878c15ecd8f0985cbe3fb8370abe4c807.tar.gz
binutils-c573941878c15ecd8f0985cbe3fb8370abe4c807.tar.bz2
Remove subset_compare
I stumbled across subset_compare today, and after looking at the callers I realized it could be removed and replaced with calls to startswith. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/utils.h')
-rw-r--r--gdb/utils.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/utils.h b/gdb/utils.h
index d2acf89..ad7c949 100644
--- a/gdb/utils.h
+++ b/gdb/utils.h
@@ -102,8 +102,6 @@ extern int strcmp_iw_ordered (const char *, const char *);
extern bool streq (const char *, const char *);
-extern int subset_compare (const char *, const char *);
-
/* Compare C strings for std::sort. */
static inline bool