Skip to content
Snippets Groups Projects
Commit e80e9c83 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

The tsleep() versions had different return types

parent de808662
Branches
Tags
No related merge requests found
......@@ -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
......
......@@ -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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment