summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cio.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-10-27 00:57:47 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-10-27 00:57:47 +0200
commit2d65edd2038fa2cef0e63f4014105e0ec0f93543 (patch)
tree202d709a1c4047099ee1c2cacfa3c8a8aeee7cb0 /crawl-ref/source/cio.cc
parentddeb6cd81a85c545c56dc28e2ec75721de274c8c (diff)
downloadcrawl-ref-2d65edd2038fa2cef0e63f4014105e0ec0f93543.tar.gz
crawl-ref-2d65edd2038fa2cef0e63f4014105e0ec0f93543.zip
Make some functions static, remove unused among those.
Diffstat (limited to 'crawl-ref/source/cio.cc')
-rw-r--r--crawl-ref/source/cio.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/cio.cc b/crawl-ref/source/cio.cc
index c4e05ca37d..783eaa9065 100644
--- a/crawl-ref/source/cio.cc
+++ b/crawl-ref/source/cio.cc
@@ -650,7 +650,7 @@ void new_mouse_event(const c_mouse_event &ce)
mouse_events.push(ce);
}
-void flush_mouse_events()
+static void _flush_mouse_events()
{
while (!mouse_events.empty())
mouse_events.pop();
@@ -662,5 +662,5 @@ void c_input_reset(bool enable_mouse, bool flush)
set_mouse_enabled(crawl_state.mouse_enabled);
if (flush)
- flush_mouse_events();
+ _flush_mouse_events();
}