aboutsummaryrefslogtreecommitdiff
path: root/cmd.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-06-05 14:19:26 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-06-06 11:27:03 +0200
commita23818f4ff3d7981f49453b739f589e4205930b5 (patch)
tree3453fa37fece548b66089f4ac2d96f8bf7752b85 /cmd.h
parent293c51a6ee369228633a8428ab689f14c045ff98 (diff)
qemu-io: Remove unused args_command
The original intention seems to be something with handling multiple images at once, but this has never been implemented and the only function ever registered is implemented to make everything behave like a "global" command. Just do that unconditionally now. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'cmd.h')
-rw-r--r--cmd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd.h b/cmd.h
index b763b198c4..8e6f7538c4 100644
--- a/cmd.h
+++ b/cmd.h
@@ -41,12 +41,10 @@ extern int ncmds;
void help_init(void);
void quit_init(void);
-typedef int (*argsfunc_t)(int index);
typedef int (*checkfunc_t)(const cmdinfo_t *ci);
void add_command(const cmdinfo_t *ci);
void add_user_command(char *optarg);
-void add_args_command(argsfunc_t af);
void add_check_command(checkfunc_t cf);
const cmdinfo_t *find_command(const char *cmd);