mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
usleep() now correctly returns 0, with the function prototype to match
This addresses issue #4 by· capehill opened on Jul 30, 2017
This commit is contained in:
@ -41,7 +41,7 @@
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
void
|
||||
int
|
||||
usleep(unsigned long microseconds)
|
||||
{
|
||||
ENTER();
|
||||
@ -51,4 +51,6 @@ usleep(unsigned long microseconds)
|
||||
__time_delay(0,microseconds);
|
||||
|
||||
LEAVE();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user