diff options
Diffstat (limited to 'gdb/cli/cli-decode.c')
-rw-r--r-- | gdb/cli/cli-decode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 155d6d1..4e302b7 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -1255,7 +1255,9 @@ find_cmd (const char *command, int len, struct cmd_list_element *clist, return found; } -static int +/* Return the length of command name in TEXT. */ + +int find_command_name_length (const char *text) { const char *p = text; |