mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
The tsleep() versions had different return types
This commit is contained in:
parent
de808662ac
commit
e80e9c8342
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user