Quellcode durchsuchen

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 vor 14 Jahren
Ursprung
Commit
1b538acb0a
3 geänderte Dateien mit 0 neuen und 3 gelöschten Zeilen
  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"