aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-decode.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-15 19:54:26 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-15 19:54:26 +0000
commit9773a94b7ac61e63820cdefb2394b8f263492994 (patch)
treee45701bcbd39c1d773636ae9c3132c063c749edf /gdb/cli/cli-decode.h
parent6e157172af6003a98be673ce19ea9d5386bd184b (diff)
downloadgdb-9773a94b7ac61e63820cdefb2394b8f263492994.zip
gdb-9773a94b7ac61e63820cdefb2394b8f263492994.tar.gz
gdb-9773a94b7ac61e63820cdefb2394b8f263492994.tar.bz2
* cli/cli-decode.c (set_cmd_cfunc): Update.
(set_cmd_sfunc): Update. * command.h (cmd_cfunc_ftype, cmd_sfunc_ftype): Declare. (set_cmd_sfunc, set_cmd_cfunc): Update. * cli/cli-decode.h: Update.
Diffstat (limited to 'gdb/cli/cli-decode.h')
-rw-r--r--gdb/cli/cli-decode.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/gdb/cli/cli-decode.h b/gdb/cli/cli-decode.h
index 5b6f968..4c440af 100644
--- a/gdb/cli/cli-decode.h
+++ b/gdb/cli/cli-decode.h
@@ -69,12 +69,11 @@ struct cmd_list_element
to one of the below. */
union
{
- /* If type is not_set_cmd, call it like this: */
- void (*cfunc) (char *args, int from_tty);
-
- /* If type is set_cmd or show_cmd, first set the variables, and
- then call this. */
- void (*sfunc) (char *args, int from_tty, struct cmd_list_element * c);
+ /* If type is not_set_cmd, call it like this: */
+ cmd_cfunc_ftype *cfunc;
+ /* If type is set_cmd or show_cmd, first set the variables,
+ and then call this: */
+ cmd_sfunc_ftype *sfunc;
}
function;