diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-01 21:10:01 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-01 21:10:01 -0400 |
commit | 5243e5f1606a9c6fcf01414ed5561616588bc0b9 (patch) | |
tree | ca5cb08865257686a1cb19bbefb959a9a2e10c10 /src/unistd | |
parent | 3bb00f45799ae6df48c2a00496ee57b42f7d2621 (diff) | |
download | musl-5243e5f1606a9c6fcf01414ed5561616588bc0b9.tar.gz musl-5243e5f1606a9c6fcf01414ed5561616588bc0b9.tar.bz2 musl-5243e5f1606a9c6fcf01414ed5561616588bc0b9.tar.xz musl-5243e5f1606a9c6fcf01414ed5561616588bc0b9.zip |
remove obsolete and useless useconds_t type
Diffstat (limited to 'src/unistd')
-rw-r--r-- | src/unistd/ualarm.c | 2 | ||||
-rw-r--r-- | src/unistd/usleep.c | 2 |
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, |