summaryrefslogtreecommitdiff
path: root/pathfind.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-24 13:19:48 +0000
committertron <tron@openttd.org>2004-11-24 13:19:48 +0000
commitfca55e374145de586143a340aa46a72d4f0ea47a (patch)
tree6e8b137fdd6fb9f70b0ee8a7bceb369371a596aa /pathfind.c
parent0ea87b6473a11eb4d6e27275a5aa649165e79a14 (diff)
downloadopenttd-fca55e374145de586143a340aa46a72d4f0ea47a.tar.xz
(svn r793) Merge INLINE -> inline replacement (revision 376)
Diffstat (limited to 'pathfind.c')
-rw-r--r--pathfind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pathfind.c b/pathfind.c
index 7547d348e..122b79ad9 100644
--- a/pathfind.c
+++ b/pathfind.c
@@ -434,7 +434,7 @@ typedef struct {
// called after a new element was added in the queue at the last index.
// move it down to the proper position
-static void INLINE HeapifyUp(NewTrackPathFinder *tpf)
+static void inline HeapifyUp(NewTrackPathFinder *tpf)
{
StackedItem si;
int i = ++tpf->nstack;
@@ -448,7 +448,7 @@ static void INLINE HeapifyUp(NewTrackPathFinder *tpf)
}
// called after the element 0 was eaten. fill it with a new element
-static void INLINE HeapifyDown(NewTrackPathFinder *tpf)
+static void inline HeapifyDown(NewTrackPathFinder *tpf)
{
StackedItem si;
int i = 1, j;