diff --git a/C/c_interface.c b/C/c_interface.c index dbf76ec95..c2a16b521 100644 --- a/C/c_interface.c +++ b/C/c_interface.c @@ -2167,7 +2167,7 @@ YAP_Init(YAP_init_args *yap_init) #ifdef YAPOR init_workers(); #endif /* YAPOR */ - init_local(); + Yap_init_local(); #ifdef YAPOR if (worker_id != 0) { #if SBA diff --git a/OPTYap/opt.init.c b/OPTYap/opt.init.c index 6e3e5dbbd..510c5b7a6 100644 --- a/OPTYap/opt.init.c +++ b/OPTYap/opt.init.c @@ -172,7 +172,7 @@ void Yap_init_global(int max_table_size, int n_workers, int sch_loop, int delay_ } -void init_local(void) { +void Yap_init_local(void) { #ifdef YAPOR /* local data related to or-parallelism */ LOCAL = REMOTE + worker_id; diff --git a/OPTYap/opt.proto.h b/OPTYap/opt.proto.h index 46912aeae..16949fcd5 100644 --- a/OPTYap/opt.proto.h +++ b/OPTYap/opt.proto.h @@ -42,7 +42,7 @@ void error_message(const char *mesg, ...); ** ------------ */ void Yap_init_global(int max_table_size, int n_workers, int sch_loop, int delay_load); -void init_local(void); +void Yap_init_local(void); void make_root_frames(void); #ifdef YAPOR void init_workers(void);