Browse Source

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 14 years ago
parent
commit
1b538acb0a
3 changed files with 0 additions and 3 deletions
  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"