diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/utils.c | 8 | ||||
-rw-r--r-- | gdb/utils.h | 12 |
2 files changed, 0 insertions, 20 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 5c110da..74917f2 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -3099,14 +3099,6 @@ strcmp_iw_ordered (const char *string1, const char *string2) } } -/* See utils.h. */ - -bool -streq (const char *lhs, const char *rhs) -{ - return !strcmp (lhs, rhs); -} - static void diff --git a/gdb/utils.h b/gdb/utils.h index ad7c949..509361d 100644 --- a/gdb/utils.h +++ b/gdb/utils.h @@ -98,18 +98,6 @@ extern int strcmp_iw (const char *string1, const char *string2); extern int strcmp_iw_ordered (const char *, const char *); -/* Return true if the strings are equal. */ - -extern bool streq (const char *, const char *); - -/* Compare C strings for std::sort. */ - -static inline bool -compare_cstrings (const char *str1, const char *str2) -{ - return strcmp (str1, str2) < 0; -} - /* Reset the prompt_for_continue clock. */ void reset_prompt_for_continue_wait_time (void); /* Return the time spent in prompt_for_continue. */ |