summaryrefslogtreecommitdiff
path: root/cmd.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-06-05 14:19:34 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-06-06 11:27:04 +0200
commite681be7eca0143fe7259ce8233fe5dd8898d072f (patch)
tree375ba8f29a3b544a5ed5fb5d7b78c1f32e8b2963 /cmd.h
parentf18a834a92f0b490cefeb71410f3f25b969d336f (diff)
downloadqemu-e681be7eca0143fe7259ce8233fe5dd8898d072f.tar.gz
qemu-io: Move 'quit' function
This one only makes sense in the context of the qemu-io tool, so move it to qemu-io.c. Adapt coding style and register it like other commands. 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 89e7c6e8b2..5b6f61b9ad 100644
--- a/cmd.h
+++ b/cmd.h
@@ -42,8 +42,6 @@ typedef struct cmdinfo {
extern cmdinfo_t *cmdtab;
extern int ncmds;
-void quit_init(void);
-
typedef int (*checkfunc_t)(BlockDriverState *bs, const cmdinfo_t *ci);
void add_command(const cmdinfo_t *ci);