1
0
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:
obarthel
2025-07-12 10:15:59 +02:00
parent a1f85a9c7f
commit 0e637e9663
2 changed files with 4 additions and 2 deletions

View File

@ -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;
}