summaryrefslogtreecommitdiffstats
path: root/include/ui/console.h
diff options
context:
space:
mode:
authorGerd Hoffmann2018-03-01 11:05:36 +0100
committerGerd Hoffmann2018-03-05 08:44:11 +0100
commit5ee1718f92bd82e0e581191b6326384d291199d3 (patch)
tree81433059eba70888fc0d259b5db0def5d2704f60 /include/ui/console.h
parentconsole: add qemu display registry, add gtk (diff)
downloadqemu-5ee1718f92bd82e0e581191b6326384d291199d3.tar.gz
qemu-5ee1718f92bd82e0e581191b6326384d291199d3.tar.xz
qemu-5ee1718f92bd82e0e581191b6326384d291199d3.zip
sdl: switch over to new display registry
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180301100547.18962-3-kraxel@redhat.com
Diffstat (limited to 'include/ui/console.h')
-rw-r--r--include/ui/console.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index 817f9b9bcc..cb86e6a0dd 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -444,25 +444,6 @@ void qemu_display_register(QemuDisplay *ui);
void qemu_display_early_init(DisplayOptions *opts);
void qemu_display_init(DisplayState *ds, DisplayOptions *opts);
-/* sdl.c */
-#ifdef CONFIG_SDL
-void sdl_display_early_init(DisplayOptions *opts);
-void sdl_display_init(DisplayState *ds, DisplayOptions *opts);
-#else
-static inline void sdl_display_early_init(DisplayOptions *opts)
-{
- /* This must never be called if CONFIG_SDL is disabled */
- error_report("SDL support is disabled");
- abort();
-}
-static inline void sdl_display_init(DisplayState *ds, DisplayOptions *opts)
-{
- /* This must never be called if CONFIG_SDL is disabled */
- error_report("SDL support is disabled");
- abort();
-}
-#endif
-
/* cocoa.m */
#ifdef CONFIG_COCOA
void cocoa_display_init(DisplayState *ds, DisplayOptions *opts);