]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/cli/cli-decode.h
* breakpoint.c (add_catch_command): Use completer_ftype.
[thirdparty/binutils-gdb.git] / gdb / cli / cli-decode.h
index 6027123f5ae373c9034fc812bda16c14d688190f..b5e0790649233a70cb235f3c6b8b8cfb53e19b52 100644 (file)
@@ -168,8 +168,7 @@ struct cmd_list_element
        For example, suppose TEXT is "foo" and we want to complete to
        "foobar".  If WORD is "oo", return "oobar"; if WORD is
        "baz/foo", return "baz/foobar".  */
-    char **(*completer) (struct cmd_list_element *cmd, 
-                        char *text, char *word);
+    completer_ftype *completer;
 
     /* Destruction routine for this command.  If non-NULL, this is
        called when this command instance is destroyed.  This may be