]> git.sur5r.net Git - openldap/commitdiff
The tsleep() versions had different return types
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 20 Nov 1998 11:46:59 +0000 (11:46 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 20 Nov 1998 11:46:59 +0000 (11:46 +0000)
servers/slurpd/proto-slurp.h
servers/slurpd/tsleep.c

index c697344028603784426a2c9f7b04fa2eac6ddb45..56e32829021be96de76a665d45dd22359e0dc05e 100644 (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
index abe606d02a04094b2c9d936172fd86899fe7c102..c21cf7def415030632a5b10d73d2717a08761006 100644 (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 */