From e3674e1223b4933b6369d24b158d17b4349b49a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Fri, 30 May 2014 01:01:58 +0100 Subject: [PATCH] fix: warningss --- library/rltree/range_list.c | 5 ++++- library/rltree/yap_rl.c | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/library/rltree/range_list.c b/library/rltree/range_list.c index 4a74aca95..4379ea7c3 100644 --- a/library/rltree/range_list.c +++ b/library/rltree/range_list.c @@ -61,7 +61,7 @@ void shift_right(RL_Tree *tree,const NUM idx,const long nnodes); void shift_left(RL_Tree *tree,const NUM idx, const long nnodes); void intersect_leafs(char *storage1,char *storage2); -static void print_nodes(RL_Tree* tree); +//static void print_nodes(RL_Tree* tree); // RL_Buffer* buffer=NULL; @@ -245,6 +245,7 @@ NUM rl_next_in_bigger(RL_Tree *tree,NUM min) { /* ****************************************************************************** Private Functions ****************************************************************************** */ +/* static void print_nodes(RL_Tree* tree) { RL_Node* nodes=tree->root; int j; @@ -253,6 +254,8 @@ static void print_nodes(RL_Tree* tree) { printf("[%d]=%lu\n",j,(unsigned long int)nodes[j].leaf); } +*/ + // treeXquadrantXinterval->quadrant_minXquadrant_max static void quadrant_interval(RL_Tree *tree,short quadrant,NUM interval,NUM *quad_interval) { diff --git a/library/rltree/yap_rl.c b/library/rltree/yap_rl.c index 43d7c91d4..344d7ed95 100644 --- a/library/rltree/yap_rl.c +++ b/library/rltree/yap_rl.c @@ -425,6 +425,8 @@ p_rl_b_in1(void) { } } /* ******************************************************* */ +void init_rl(void); + void init_rl(void){