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_gettime.c | |
| parent | 500c969f059dc1b12dc3809d270cb169abbd57d3 (diff) | |
| download | musl-1b538acb0ac8520a8a5fd828add2e52e1d2a41eb.tar.gz | |
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_gettime.c')
| -rw-r--r-- | src/time/clock_gettime.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/time/clock_gettime.c b/src/time/clock_gettime.c index 6b880a06..dab09d50 100644 --- a/src/time/clock_gettime.c +++ b/src/time/clock_gettime.c @@ -1,4 +1,3 @@ -#define SYSCALL_RETURN_ERRNO #include <time.h> #include "syscall.h" |
