From d21497f9fba95688e464ae712bd6b4c0fbc4ea13 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Sat, 19 Sep 2009 09:54:20 -0700 Subject: include/: add tls errno and res_state Signed-off-by: Austin Foxley --- include/time.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'include/time.h') 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. */ -- cgit v1.2.3