2nd Part: Partial commit of patch #8812 (static caused problems on sunOS)

This commit is contained in:
Daniel Genrich
2008-04-10 16:42:19 +00:00
parent bdafa1dd91
commit f95f4ac8b4

View File

@@ -150,7 +150,7 @@ DO_INLINE int floor_lg(int a)
/*
* Insertion sort algorithm
*/
static void bvh_insertionsort(CollisionTree **a, int lo, int hi, int axis)
void bvh_insertionsort(CollisionTree **a, int lo, int hi, int axis)
{
int i,j;
CollisionTree *t;
@@ -247,7 +247,7 @@ static CollisionTree *bvh_medianof3(CollisionTree **a, int lo, int mid, int hi,
/*
* Quicksort algorithm modified for Introsort
*/
static void bvh_introsort_loop (CollisionTree **a, int lo, int hi, int depth_limit, int axis)
void bvh_introsort_loop (CollisionTree **a, int lo, int hi, int depth_limit, int axis)
{
int p;