]> git.itanic.dy.fi Git - sdl-planets/commit
quadtree: Move quadtree_recalculate_parent_stats() out from the header
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Fri, 8 Jul 2011 10:03:21 +0000 (13:03 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Sat, 9 Jul 2011 07:29:17 +0000 (10:29 +0300)
commitf29c9888ca10dcd11355aa3db1645e3a8fc1c97b
treea9a0678bfa08fd18c3a6cdc7e36805fca417089a
parent4e456bac7fba5ff042186565cf9c5bd06267d476
quadtree: Move quadtree_recalculate_parent_stats() out from the header

This function is not called anywhere outside of the quadtree.c, so
there is no really point in keeping it in the header. Furthermore,
this is one quite big function to keep inlined. Make it an ordinary
static function instead and let the compiler decide whether it should
be inlined or not.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
quadtree.c
quadtree.h