summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r--src/news_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index 5686102f1..84eb24665 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -775,7 +775,7 @@ void DeleteIndustryNews(IndustryID iid)
}
}
-void RemoveOldNewsItems()
+static void RemoveOldNewsItems()
{
NewsItem *next;
for (NewsItem *cur = _oldest_news; _total_news > MIN_NEWS_AMOUNT && cur != NULL; cur = next) {