summaryrefslogtreecommitdiff
path: root/src/newgrf_canal.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/newgrf_canal.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/newgrf_canal.cpp')
-rw-r--r--src/newgrf_canal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_canal.cpp b/src/newgrf_canal.cpp
index 7e139392d..91888ea35 100644
--- a/src/newgrf_canal.cpp
+++ b/src/newgrf_canal.cpp
@@ -114,7 +114,7 @@ SpriteID GetCanalSprite(CanalFeature feature, TileIndex tile)
* @param tile Tile index of canal.
* @return Callback result or CALLBACK_FAILED if the callback failed.
*/
-uint16 GetCanalCallback(CallbackID callback, uint32 param1, uint32 param2, CanalFeature feature, TileIndex tile)
+static uint16 GetCanalCallback(CallbackID callback, uint32 param1, uint32 param2, CanalFeature feature, TileIndex tile)
{
ResolverObject object;
const SpriteGroup *group;