[Qemu-devel] [PATCH] console: Don't expose the the ui module's functions when the module is not available.

2011-07-25 Thread TeLeMan
If there is no sdl support, the implement of sdl_display_init() is missing and its declaration should not be exposed. vnc, cocoa, curses and other ui modules are the same as sdl. Signed-off-by: TeLeMan --- console.h |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git

Re: [Qemu-devel] [PATCH] console: Don't expose the the ui module's functions when the module is not available.

2011-07-25 Thread Anthony Liguori
On 07/25/2011 09:24 PM, TeLeMan wrote: If there is no sdl support, the implement of sdl_display_init() is missing and its declaration should not be exposed. vnc, cocoa, curses and other ui modules are the same as sdl. Signed-off-by: TeLeMan Nack. There's no harm in exposing these and it avoi

Re: [Qemu-devel] [PATCH] console: Don't expose the the ui module's functions when the module is not available.

2011-07-25 Thread TeLeMan
On Tue, Jul 26, 2011 at 10:32, Anthony Liguori wrote: > On 07/25/2011 09:24 PM, TeLeMan wrote: >> >> If there is no sdl support, the implement of sdl_display_init() is missing >> and its declaration should not be exposed. >> vnc, cocoa, curses and other ui modules are the same as sdl. >> >> Signed