summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-19 13:04:29 +0000
committerrubidium <rubidium@openttd.org>2008-04-19 13:04:29 +0000
commitaf34ce0b5d0dd9e323039850779a1bd79aa7701a (patch)
treeaf39a85005fc69a1b63fd8e93ef7a6eb1ebdab1e
parentbfd2cac6e2cc81d3f7b17d17e7f7ad9722a6674c (diff)
downloadopenttd-af34ce0b5d0dd9e323039850779a1bd79aa7701a.tar.xz
(svn r12786) -Change: remove more function from functions.h.
-rw-r--r--src/functions.h1
-rw-r--r--src/strings.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/functions.h b/src/functions.h
index 5417d59ce..6ef25ed48 100644
--- a/src/functions.h
+++ b/src/functions.h
@@ -68,7 +68,6 @@ void UpdateViewportSignPos(ViewportSign *sign, int left, int top, StringID str);
/* callback from drivers that is called if the game size changes dynamically */
void GameSizeChanged();
-const char *GetCurrentLocale(const char *param);
int ttd_main(int argc, char* argv[]);
void HandleExitGameRequest();
diff --git a/src/strings.cpp b/src/strings.cpp
index c9f83fc1a..4f84a8776 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -1318,6 +1318,8 @@ const char *GetCurrentLocale(const char *param)
return getenv("LANG");
}
+#else
+const char *GetCurrentLocale(const char *param);
#endif /* !(defined(WIN32) || defined(__APPLE__)) */
int CDECL StringIDSorter(const void *a, const void *b)