summaryrefslogtreecommitdiff
path: root/pathfind.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-14 19:44:06 +0000
committertron <tron@openttd.org>2004-11-14 19:44:06 +0000
commit249a170acef352b40c7fa67fe65bdc62cbae4ff1 (patch)
tree42822c6c00e5ddf808a4b35810f9522ad3dcf5ed /pathfind.c
parent200d3fdbe83717437d7dad0fb99b180c3ca103a7 (diff)
downloadopenttd-249a170acef352b40c7fa67fe65bdc62cbae4ff1.tar.xz
(svn r607) -Patch: [ 985102 ] static cleanup
Thanks to lvoge
Diffstat (limited to 'pathfind.c')
-rw-r--r--pathfind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pathfind.c b/pathfind.c
index a0f26c782..7547d348e 100644
--- a/pathfind.c
+++ b/pathfind.c
@@ -122,7 +122,7 @@ extern void dbg_push_tile(uint tile, int track);
extern void dbg_pop_tile();
#endif
-void TPFMode2(TrackPathFinder *tpf, uint tile, int direction)
+static void TPFMode2(TrackPathFinder *tpf, uint tile, int direction)
{
uint bits;
int i;
@@ -254,7 +254,7 @@ const byte _ffb_64[128] = {
48,56,56,58,56,60,60,62,
};
-void TPFMode1(TrackPathFinder *tpf, uint tile, int direction)
+static void TPFMode1(TrackPathFinder *tpf, uint tile, int direction)
{
uint bits;
int i;
@@ -581,7 +581,7 @@ static bool NtpCheck(NewTrackPathFinder *tpf, uint tile, uint dir, uint length)
// new more optimized pathfinder for trains...
-void NTPEnum(NewTrackPathFinder *tpf, uint tile, uint direction)
+static void NTPEnum(NewTrackPathFinder *tpf, uint tile, uint direction)
{
uint bits, tile_org;
int i;