diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-03-20 08:11:01 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-03-20 08:11:01 +0000 |
commit | 80a1ab598c6960e7a941e38c5d8638c532c585c3 (patch) | |
tree | cd0fcc6db30a0ed0070a3ef09f1de1a258aeb9ed /curses.c | |
parent | 3290c4aac5b97bb1e3b2b28d94669f2c611ce84a (diff) |
Fix build
CC curses.o
cc1: warnings being treated as errors
/src/qemu/curses.c: In function 'curses_display_init':
/src/qemu/curses.c:341: error: initialization from incompatible pointer type
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'curses.c')
-rw-r--r-- | curses.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -294,16 +294,11 @@ static void curses_refresh(DisplayState *ds) } } -static void curses_cleanup(void *opaque) +static void curses_atexit(Notifier *notifier) { endwin(); } -static void curses_atexit(void) -{ - curses_cleanup(NULL); -} - static void curses_setup(void) { int i, colour_default[8] = { |