aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-16 03:03:13 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-16 03:03:13 +0000
commit1ed2a1352d4af2d840b285a741bc02d4584c24f1 (patch)
tree9020ef74aa86fd491e1932344e76a0a6f429769d /gdb/remote.c
parentdfb0df6c344642319f4301abb78ac015a0e558f0 (diff)
downloadgdb-1ed2a1352d4af2d840b285a741bc02d4584c24f1.zip
gdb-1ed2a1352d4af2d840b285a741bc02d4584c24f1.tar.gz
gdb-1ed2a1352d4af2d840b285a741bc02d4584c24f1.tar.bz2
Fix signature of add_set_enum_cmd. Change VAR parameter to char**.
Cleanup signature of add_set_cmd. Change VAR parameter to void*.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 1087d9f..ea3c24f 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -624,7 +624,7 @@ add_packet_config_cmd (config, name, title, set_func, show_func,
asprintf (&full_name, "%s-packet", name);
c = add_set_enum_cmd (full_name,
class_obscure, packet_support_enums,
- (char *) &config->state,
+ &config->state,
set_doc, setlist);
c->function.sfunc = set_func;
add_cmd (full_name, class_obscure, show_func, show_doc, showlist);