diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-04-20 17:25:47 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-04-21 16:56:55 +0400 |
commit | 88c39c8693f2b7f0a9fbac1cdd9496493066563a (patch) | |
tree | c5cf9edf2bc6d544f0d1aed02fc5beae18f35a86 /ui | |
parent | 6712f04ec8f417d5082e206e0bc0b80d6572afbb (diff) | |
download | qemu-88c39c8693f2b7f0a9fbac1cdd9496493066563a.zip qemu-88c39c8693f2b7f0a9fbac1cdd9496493066563a.tar.gz qemu-88c39c8693f2b7f0a9fbac1cdd9496493066563a.tar.bz2 |
Simplify softmmu/main.c
Move qemu_main() declaration to a new header.
Simplify main.c since both cocoa & sdl cannot be enabled together.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220420132624.2439741-5-marcandre.lureau@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/cocoa.m | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -28,6 +28,7 @@ #include <crt_externs.h> #include "qemu-common.h" +#include "qemu-main.h" #include "ui/clipboard.h" #include "ui/console.h" #include "ui/input.h" |