diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-09-07 14:29:09 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-09-07 14:29:09 +0200 |
commit | 05cc9a52990d057334ada92bcc8d3723da3725c7 (patch) | |
tree | ab79a40f768eee1eeffcf04a8408017c3a0ba44f /crawl-ref/source/libunix.h | |
parent | eeb062edcdea166aa2a90874f272a440b7fa9941 (diff) | |
download | crawl-ref-05cc9a52990d057334ada92bcc8d3723da3725c7.tar.gz crawl-ref-05cc9a52990d057334ada92bcc8d3723da3725c7.zip |
Get rid of a nasty hack around improper includes.
Why the original coder did that instead of actually including the system
headers is beyond me.
Diffstat (limited to 'crawl-ref/source/libunix.h')
-rw-r--r-- | crawl-ref/source/libunix.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/crawl-ref/source/libunix.h b/crawl-ref/source/libunix.h index 133d0ec251..1fd5efd07a 100644 --- a/crawl-ref/source/libunix.h +++ b/crawl-ref/source/libunix.h @@ -46,16 +46,7 @@ inline bool is_smart_cursor_enabled() { return (false); } void set_mouse_enabled(bool enabled); -#ifndef _LIBUNIX_IMPLEMENTATION -/* Some stuff from curses, to remove compiling warnings.. */ -extern "C" -{ - int getch(void); - int noecho(void); - int echo(void); - char *strlwr(char *str); -} -#endif +char *strlwr(char *str); #endif |