From 47f7ff0ad79ef2284e3389e6c9ac421f765a6d58 Mon Sep 17 00:00:00 2001 From: Joao Date: Thu, 7 Apr 2011 16:37:41 +0100 Subject: [PATCH] change Yap_init_optyap_global to Yap_init_optyap_data. --- C/init.c | 2 +- OPTYap/opt.init.c | 2 +- OPTYap/opt.proto.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/C/init.c b/C/init.c index 531e46b0e..12a1e224f 100755 --- a/C/init.c +++ b/C/init.c @@ -1356,7 +1356,7 @@ Yap_InitWorkspace(UInt Heap, UInt Stack, UInt Trail, UInt Atts, UInt max_table_s Yap_InitMemory (Trail, Heap, Stack+Atts); #endif /* YAPOR && !THREADS */ #if defined(YAPOR) || defined(TABLING) - Yap_init_optyap_global(max_table_size, n_workers, sch_loop, delay_load); + Yap_init_optyap_data(max_table_size, n_workers, sch_loop, delay_load); #endif /* YAPOR || TABLING */ Yap_AttsSize = Atts; diff --git a/OPTYap/opt.init.c b/OPTYap/opt.init.c index 6bfdbc290..946e9e559 100644 --- a/OPTYap/opt.init.c +++ b/OPTYap/opt.init.c @@ -78,7 +78,7 @@ struct worker WORKER; ** Global functions ** *******************************/ -void Yap_init_optyap_global(int max_table_size, int n_workers, int sch_loop, int delay_load) { +void Yap_init_optyap_data(int max_table_size, int n_workers, int sch_loop, int delay_load) { int i; /* global data related to memory management */ diff --git a/OPTYap/opt.proto.h b/OPTYap/opt.proto.h index 8af6b12b4..deb90b65e 100644 --- a/OPTYap/opt.proto.h +++ b/OPTYap/opt.proto.h @@ -33,7 +33,7 @@ void remap_memory(void); ** opt.init.c ** *************************/ -void Yap_init_optyap_global(int, int, int, int); +void Yap_init_optyap_data(int, int, int, int); void Yap_init_local(void); void make_root_frames(void); #ifdef YAPOR