summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-08-29 15:58:43 +0000
committeralberth <alberth@openttd.org>2010-08-29 15:58:43 +0000
commit9f5a96ead210338d8fc343108a8633da5e04e340 (patch)
treede03e1764ebef64977250f6ca88b26b93e313a63 /src/settings.cpp
parent219ad6e0032efd16afa177e6b6e09c7e7a7b4141 (diff)
downloadopenttd-9f5a96ead210338d8fc343108a8633da5e04e340.tar.xz
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 3a29752af..2c7766869 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -161,7 +161,7 @@ static uint32 LookupManyOfMany(const char *many, const char *str)
* @param maxitems the maximum number of elements the integerlist-array has
* @return returns the number of items found, or -1 on an error
*/
-int ParseIntList(const char *p, int *items, int maxitems)
+static int ParseIntList(const char *p, int *items, int maxitems)
{
int n = 0; // number of items read so far
bool comma = false; // do we accept comma?