diff options
author | Austin Foxley <austinf@cetoncorp.com> | 2009-09-19 09:54:20 -0700 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-09-26 09:26:28 -0700 |
commit | d21497f9fba95688e464ae712bd6b4c0fbc4ea13 (patch) | |
tree | c6fb7dbd153266214843d5057672b49a22fc10d2 /include/time.h | |
parent | 18cc8e0e459edf5391016ef76a4ff3108981d86a (diff) |
include/: add tls errno and res_state
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/time.h b/include/time.h index 4f060be03..7fcdf68e6 100644 --- a/include/time.h +++ b/include/time.h @@ -362,10 +362,9 @@ extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __THROW; /* Set clock CLOCK_ID to value TP. */ extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) __THROW; -#endif /* __UCLIBC_HAS_REALTIME__ */ -#ifdef __UCLIBC_MJN3_ONLY__ -#warning "mjn3 FIXME: a bunch of unimplemented function prototypes." -# if defined __USE_XOPEN2K && defined __UCLIBC_HAS_ADVANCED_REALTIME__ +# endif /* __UCLIBC_HAS_REALTIME__ */ +# ifdef __UCLIBC_HAS_THREADS_NATIVE__ +# if defined __USE_XOPEN2K && defined __UCLIBC_HAS_ADVANCED_REALTIME__ /* High-resolution sleep with the specified clock. This function is a cancellation point and therefore not marked with @@ -376,8 +375,8 @@ extern int clock_nanosleep (clockid_t __clock_id, int __flags, /* Return clock ID for CPU-time clock. */ extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __THROW; -# endif -#endif /* __UCLIBC_MJN3_ONLY__ */ +# endif +# endif /* __UCLIBC_HAS_THREADS_NATIVE__ */ # if defined __UCLIBC_HAS_REALTIME__ /* Create new per-process timer using CLOCK_ID. */ |