From ebd0ab27f176fac868068bd66cb5fc5774ae1639 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sun, 20 Sep 2009 18:13:32 -0700 Subject: libunix.cc: add forward declarations where needed unixcurses_{startup,shutdown}() and sighup_save_and_exit() were used before they were declared/defined. Signed-off-by: Steven Noonan --- crawl-ref/source/libunix.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crawl-ref/source/libunix.cc') diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc index 20dd071ca8..7006a6d2fb 100644 --- a/crawl-ref/source/libunix.cc +++ b/crawl-ref/source/libunix.cc @@ -72,6 +72,9 @@ static struct termios game_term; #include CURSES_INCLUDE_FILE #endif +void unixcurses_startup(); +void unixcurses_shutdown(); + // Globals holding current text/backg. colors static short FG_COL = WHITE; static short BG_COL = BLACK; @@ -323,6 +326,9 @@ static void handle_sigwinch(int) } #ifdef SIGHUP_SAVE + +void sighup_save_and_exit(); + /* [ds] This SIGHUP handling is primitive and far from safe, but it * should be better than nothing. Feel free to get rigorous on this. */ -- cgit v1.2.3-54-g00ecf