diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-03-10 09:54:23 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-03-10 09:54:23 -0500 |
commit | 1b538acb0ac8520a8a5fd828add2e52e1d2a41eb (patch) | |
tree | 571395eb5ef0076bedc78c7d2a10e0def30abad1 /src/time/clock_getres.c | |
parent | 500c969f059dc1b12dc3809d270cb169abbd57d3 (diff) | |
download | musl-1b538acb0ac8520a8a5fd828add2e52e1d2a41eb.tar.gz musl-1b538acb0ac8520a8a5fd828add2e52e1d2a41eb.tar.bz2 musl-1b538acb0ac8520a8a5fd828add2e52e1d2a41eb.tar.xz musl-1b538acb0ac8520a8a5fd828add2e52e1d2a41eb.zip |
fix errno behavior in clock_* functions
these functions are specified inconsistent in whether they're
specified to return an error value, or return -1 and set errno.
hopefully now they all match what POSIX requires.
Diffstat (limited to 'src/time/clock_getres.c')
-rw-r--r-- | src/time/clock_getres.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/time/clock_getres.c b/src/time/clock_getres.c index e86a1ee4..539d4f94 100644 --- a/src/time/clock_getres.c +++ b/src/time/clock_getres.c @@ -1,4 +1,3 @@ -#define SYSCALL_RETURN_ERRNO #include <time.h> #include "syscall.h" |