summaryrefslogtreecommitdiff
path: root/src/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd')
-rw-r--r--src/unistd/ualarm.c2
-rw-r--r--src/unistd/usleep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/unistd/ualarm.c b/src/unistd/ualarm.c
index be853035..1eb08692 100644
--- a/src/unistd/ualarm.c
+++ b/src/unistd/ualarm.c
@@ -2,7 +2,7 @@
#include "syscall.h"
/* FIXME: ?? */
-useconds_t ualarm(useconds_t useconds, useconds_t interval)
+unsigned ualarm(unsigned useconds, unsigned interval)
{
return -1;
}
diff --git a/src/unistd/usleep.c b/src/unistd/usleep.c
index e3869017..ce1c8144 100644
--- a/src/unistd/usleep.c
+++ b/src/unistd/usleep.c
@@ -1,7 +1,7 @@
#include <unistd.h>
#include <time.h>
-int usleep(useconds_t useconds)
+int usleep(unsigned useconds)
{
struct timespec tv = {
.tv_sec = useconds/1000000,