aboutsummaryrefslogtreecommitdiff
path: root/curses.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-03-20 08:11:01 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-03-20 08:11:01 +0000
commit80a1ab598c6960e7a941e38c5d8638c532c585c3 (patch)
treecd0fcc6db30a0ed0070a3ef09f1de1a258aeb9ed /curses.c
parent3290c4aac5b97bb1e3b2b28d94669f2c611ce84a (diff)
downloadqemu-80a1ab598c6960e7a941e38c5d8638c532c585c3.zip
qemu-80a1ab598c6960e7a941e38c5d8638c532c585c3.tar.gz
qemu-80a1ab598c6960e7a941e38c5d8638c532c585c3.tar.bz2
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.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/curses.c b/curses.c
index f9a983a..44ab1a5 100644
--- a/curses.c
+++ b/curses.c
@@ -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] = {