diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-09-20 18:13:32 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-09-23 11:34:36 -0700 |
commit | ebd0ab27f176fac868068bd66cb5fc5774ae1639 (patch) | |
tree | 121dcde1e7e84d43352122dca343138570d88a26 /crawl-ref/source/libunix.cc | |
parent | ab835374e85861b68703733b4a3bd8917d2a2d6b (diff) | |
download | crawl-ref-ebd0ab27f176fac868068bd66cb5fc5774ae1639.tar.gz crawl-ref-ebd0ab27f176fac868068bd66cb5fc5774ae1639.zip |
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 <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/libunix.cc')
-rw-r--r-- | crawl-ref/source/libunix.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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. */ |