summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-05-05 16:39:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2018-05-05 16:39:13 +0200
commitddbb03e77ac1a48740688814b82f45c97ee81f37 (patch)
tree380f52184e6507d089031b1f92f2a5d690bfeb57 /include
parent68628fe7d463541bf3c33da6b214e63c0cc9feed (diff)
librt: clock_nanosleep could be even used without threads
Diffstat (limited to 'include')
-rw-r--r--include/time.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/time.h b/include/time.h
index c29038b7c..1a1408990 100644
--- a/include/time.h
+++ b/include/time.h
@@ -356,7 +356,6 @@ extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp)
# endif /* __UCLIBC_HAS_REALTIME__ */
# if defined __USE_XOPEN2K && defined __UCLIBC_HAS_ADVANCED_REALTIME__
-# ifdef __UCLIBC_HAS_THREADS__
/* High-resolution sleep with the specified clock.
This function is a cancellation point and therefore not marked with
@@ -367,7 +366,6 @@ 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 /* __UCLIBC_HAS_THREADS__ */
# endif
# if defined __UCLIBC_HAS_REALTIME__