From 357655af32204d5edf2b6257bd39168f3d1c9cc7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 8 May 2013 12:55:05 +0000 Subject: use static functions for raycast functions. --- source/blender/render/intern/raytrace/vbvh.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/render/intern/raytrace/vbvh.h') diff --git a/source/blender/render/intern/raytrace/vbvh.h b/source/blender/render/intern/raytrace/vbvh.h index 9755bf89668..abccab5fc13 100644 --- a/source/blender/render/intern/raytrace/vbvh.h +++ b/source/blender/render/intern/raytrace/vbvh.h @@ -79,7 +79,7 @@ inline static void bvh_node_push_childs(Node *node, Isect *UNUSED(isec), Node ** template -int count_childs(Node *parent) +static int count_childs(Node *parent) { int n = 0; for (Node *i = parent->child; i; i = i->sibling) { @@ -93,7 +93,7 @@ int count_childs(Node *parent) template -void append_sibling(Node *node, Node *sibling) +static void append_sibling(Node *node, Node *sibling) { while (node->sibling) node = node->sibling; -- cgit v1.2.3