summaryrefslogtreecommitdiff
path: root/news_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-22 22:47:58 +0000
committertron <tron@openttd.org>2005-01-22 22:47:58 +0000
commite5cd6b61933537888b1be19af437415861cca57f (patch)
tree078e42c5f2a6e1d8ef465541334a5c00039419e1 /news_gui.c
parente75c48ec7a8920c475e515fa13c7629f19cf1a14 (diff)
downloadopenttd-e5cd6b61933537888b1be19af437415861cca57f.tar.xz
(svn r1596) Add some more statics
Diffstat (limited to 'news_gui.c')
-rw-r--r--news_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/news_gui.c b/news_gui.c
index 59840f814..e51935f3d 100644
--- a/news_gui.c
+++ b/news_gui.c
@@ -200,7 +200,7 @@ static void NewsWindowProc(Window *w, WindowEvent *e)
// returns the correct index in the array
// (to deal with overflows)
-byte increaseIndex(byte i)
+static byte increaseIndex(byte i)
{
if (i == INVALID_NEWS)
return 0;
@@ -451,7 +451,7 @@ void NewsLoop(void)
}
/* Do a forced show of a specific message */
-void ShowNewsMessage(byte i)
+static void ShowNewsMessage(byte i)
{
if (_total_news == 0) return;