From 5d043c5d7faaf971c560e7f8409318eaaaf77d81 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost <ehabkost@redhat.com> Date: Thu, 17 Sep 2009 14:06:02 -0300 Subject: [PATCH 09/38] put declaration of enable_async_notification in a proper place RH-Author: Juan Quintela <quintela@redhat.com> Message-id: <86916baa3b6538f82a328f97828ad919c15f2e7c.1249487147.git.quintela@redhat.com> Patchwork-id: 3175 O-Subject: [PATCH 11/38] put declaration of enable_async_notification in a proper place Bugzilla: 515749 RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com> RH-Acked-by: Luiz Capitulino <lcapitulino@redhat.com> RH-Acked-by: Kevin Wolf <kwolf@redhat.com> RH-Acked-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> --- qemu/sysemu.h | 1 + qemu/vl.c | 1 - 2 files changed, 1 insertions(+), 1 deletions(-) Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> --- qemu/sysemu.h | 1 + qemu/vl.c | 1 - 2 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu/sysemu.h b/qemu/sysemu.h index b0e4755..06ca917 100644 --- a/qemu/sysemu.h +++ b/qemu/sysemu.h @@ -267,6 +267,7 @@ extern struct soundhw soundhw[]; void do_usb_add(const char *devname); void do_usb_del(const char *devname); void usb_info(void); +int enable_async_notification(const char *event_str); const char *get_opt_name(char *buf, int buf_size, const char *p); const char *get_opt_value(char *buf, int buf_size, const char *p); diff --git a/qemu/vl.c b/qemu/vl.c index 3b9d26f..2c24889 100644 --- a/qemu/vl.c +++ b/qemu/vl.c @@ -5900,7 +5900,6 @@ int main(int argc, char **argv, char **envp) incoming = optarg; break; case QEMU_OPTION_notify: { - extern int enable_async_notification(const char *); if (enable_async_notification(optarg)) { fprintf(stderr, "qemu: failed to enable async event" " notification for %s\n", optarg); -- 1.6.3.rc4.29.g8146