From e80e9c8342daa1159ed0aabde417cd492a096c86 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Fri, 20 Nov 1998 11:46:59 +0000 Subject: [PATCH] The tsleep() versions had different return types --- servers/slurpd/proto-slurp.h | 2 +- servers/slurpd/tsleep.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/servers/slurpd/proto-slurp.h b/servers/slurpd/proto-slurp.h index c697344028..56e3282902 100644 --- a/servers/slurpd/proto-slurp.h +++ b/servers/slurpd/proto-slurp.h @@ -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 diff --git a/servers/slurpd/tsleep.c b/servers/slurpd/tsleep.c index abe606d02a..c21cf7def4 100644 --- a/servers/slurpd/tsleep.c +++ b/servers/slurpd/tsleep.c @@ -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 */ -- 2.39.5