(svn r12786) -Change: remove more function from functions.h.
authorrubidium
Sat, 19 Apr 2008 13:04:29 +0000
changeset 10254 14e7c7ada607
parent 10253 1627c1fef7c8
child 10255 5600b575e6e7
(svn r12786) -Change: remove more function from functions.h.
src/functions.h
src/strings.cpp
--- a/src/functions.h	Sat Apr 19 12:50:02 2008 +0000
+++ b/src/functions.h	Sat Apr 19 13:04:29 2008 +0000
@@ -68,7 +68,6 @@
 
 /* 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();
--- a/src/strings.cpp	Sat Apr 19 12:50:02 2008 +0000
+++ b/src/strings.cpp	Sat Apr 19 13:04:29 2008 +0000
@@ -1318,6 +1318,8 @@
 
 	return getenv("LANG");
 }
+#else
+const char *GetCurrentLocale(const char *param);
 #endif /* !(defined(WIN32) || defined(__APPLE__)) */
 
 int CDECL StringIDSorter(const void *a, const void *b)