init_local should be called Yap_init_local to avoid clashesh.

This commit is contained in:
Vitor Santos Costa 2009-11-19 08:24:38 +00:00
parent 432cce1c49
commit d9016fa650
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;

View File

@ -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);