summaryrefslogtreecommitdiff
path: root/navit/cache.c
diff options
context:
space:
mode:
authorhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-12-28 21:23:41 +0000
committerhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-12-28 21:23:41 +0000
commit879880aae058ecf06f515e172769404ff4b7c2cd (patch)
tree236ab8eb139e1c25f251e2c37a27ffe927692735 /navit/cache.c
parent07334a013711c5e14649b85e114f6f451f1fce2a (diff)
downloadnavit-879880aae058ecf06f515e172769404ff4b7c2cd.tar.gz
core:fix:Fix some warnings and do some small cleanups
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1864 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/cache.c')
-rw-r--r--navit/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/cache.c b/navit/cache.c
index 252fcc7f5..cd12a8286 100644
--- a/navit/cache.c
+++ b/navit/cache.c
@@ -334,7 +334,7 @@ cache_insert_new(struct cache *cache, void *id, int size)
return data;
}
-void
+static void
cache_stats(struct cache *cache)
{
dbg(0,"hits %d misses %d hitratio %d size %d entry_size %d id_size %d T1 target %d\n", cache->hits, cache->misses, cache->hits*100/(cache->hits+cache->misses), cache->size, cache->entry_size, cache->id_size, cache->t1_target);