fix PL_cleanup_fork (avoid two definitions).

This commit is contained in:
Vitor Santos Costa 2010-06-20 00:11:07 +01:00
parent 0ca38f0b57
commit c9e150bab7
2 changed files with 1 additions and 8 deletions

View File

@ -2888,13 +2888,6 @@ PL_foreign_context_address(control_t ctx)
}
}
X_API void
PL_cleanup_fork(void)
{
Yap_CloseStreams(FALSE);
}
static int
SWI_ctime(void)
{

View File

@ -868,7 +868,7 @@ in use by Prolog. This can't work as the table is guarded by a mutex.
Now we use the FD_CLOEXEC flag in Snew();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
void
X_API void
PL_cleanup_fork(void)
{ stopItimer();
}