Explorar o código

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.
Rich Felker %!s(int64=14) %!d(string=hai) anos
pai
achega
1b538acb0a
Modificáronse 3 ficheiros con 0 adicións e 3 borrados
  1. 0 1
      src/time/clock_getres.c
  2. 0 1
      src/time/clock_gettime.c
  3. 0 1
      src/time/clock_settime.c

+ 0 - 1
src/time/clock_getres.c

@@ -1,4 +1,3 @@
-#define SYSCALL_RETURN_ERRNO
 #include <time.h>
 #include "syscall.h"
 

+ 0 - 1
src/time/clock_gettime.c

@@ -1,4 +1,3 @@
-#define SYSCALL_RETURN_ERRNO
 #include <time.h>
 #include "syscall.h"
 

+ 0 - 1
src/time/clock_settime.c

@@ -1,4 +1,3 @@
-#define SYSCALL_RETURN_ERRNO
 #include <time.h>
 #include "syscall.h"