summaryrefslogtreecommitdiff
path: root/queue.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-12-14 06:20:23 +0000
committertron <tron@openttd.org>2005-12-14 06:20:23 +0000
commit23bfc03054c52065006a73d8cebdeee068784892 (patch)
tree5042ddfac1e3c26fb99ea38d0bd4b90959a93d61 /queue.c
parentce94c90a7b966c0bff294f2b582068d984ba172c (diff)
downloadopenttd-23bfc03054c52065006a73d8cebdeee068784892.tar.xz
(svn r3297) Staticise
Diffstat (limited to 'queue.c')
-rw-r--r--queue.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/queue.c b/queue.c
index b5a018d42..2fad5c3ed 100644
--- a/queue.c
+++ b/queue.c
@@ -504,7 +504,8 @@ void delete_Hash(Hash* h, bool free_values) {
free(h);
}
-void stat_Hash(Hash* h)
+#ifdef HASH_STATS
+static void stat_Hash(Hash* h)
{
uint used_buckets = 0;
uint max_collision = 0;
@@ -546,6 +547,7 @@ void stat_Hash(Hash* h)
}
printf ("}\n");
}
+#endif
void clear_Hash(Hash* h, bool free_values)
{