about summary refs log tree commit diff
path: root/src/time/clock_settime.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-10 09:54:23 -0500
committerRich Felker <dalias@aerifal.cx>2011-03-10 09:54:23 -0500
commit1b538acb0ac8520a8a5fd828add2e52e1d2a41eb (patch)
tree571395eb5ef0076bedc78c7d2a10e0def30abad1 /src/time/clock_settime.c
parent500c969f059dc1b12dc3809d270cb169abbd57d3 (diff)
downloadmusl-1b538acb0ac8520a8a5fd828add2e52e1d2a41eb.tar.gz
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_settime.c')
-rw-r--r--src/time/clock_settime.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/time/clock_settime.c b/src/time/clock_settime.c
index e880fb33..a80b94e1 100644
--- a/src/time/clock_settime.c
+++ b/src/time/clock_settime.c
@@ -1,4 +1,3 @@
-#define SYSCALL_RETURN_ERRNO
 #include <time.h>
 #include "syscall.h"