The tsleep() versions had different return types

This commit is contained in:
Hallvard Furuseth 1998-11-20 11:46:59 +00:00
parent de808662ac
commit e80e9c8342
2 changed files with 3 additions and 2 deletions

View File

@ -60,7 +60,7 @@ int sanity LDAP_P((void));
int St_init LDAP_P((St **st));
/* tsleep.c */
void tsleep LDAP_P((time_t interval));
int tsleep LDAP_P((time_t interval));
#if defined( HAVE_LWP )
void start_lwp_scheduler LDAP_P(( void ));
#endif

View File

@ -147,11 +147,12 @@ start_lwp_scheduler( void )
* Here we assume we have fully preemptive threads, and that sleep()
* does the right thing.
*/
void
int
tsleep(
time_t interval
)
{
sleep( interval );
return 0;
}
#endif /* !HAVE_LWP */