mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
Move streq and compare_cstrings to gdbsupport
It seems to me that streq and compare_cstrings belong near the other string utility functions in common-utils.h; and furthermore that streq ought to be inlined. This patch makes this change. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user