aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index f3fc16c..b5c011b 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -2156,21 +2156,9 @@ fprintf_symbol_filtered (struct ui_file *stream, const char *name,
}
}
-/* Modes of operation for strncmp_iw_with_mode. */
-
-enum class strncmp_iw_mode
-{
- /* Work like strncmp, while ignoring whitespace. */
- NORMAL,
-
- /* Like NORMAL, but also apply the strcmp_iw hack. I.e.,
- string1=="FOO(PARAMS)" matches string2=="FOO". */
- MATCH_PARAMS,
-};
-
-/* Helper for strncmp_iw and strcmp_iw. */
+/* See utils.h. */
-static int
+int
strncmp_iw_with_mode (const char *string1, const char *string2,
size_t string2_len, strncmp_iw_mode mode)
{