about summary refs log tree commit diff
path: root/conform/data/time.h-data
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data/time.h-data')
-rw-r--r--conform/data/time.h-data6
1 files changed, 5 insertions, 1 deletions
diff --git a/conform/data/time.h-data b/conform/data/time.h-data
index 1e089d07f1..0deb6be136 100644
--- a/conform/data/time.h-data
+++ b/conform/data/time.h-data
@@ -43,7 +43,7 @@ function int timespec_get (struct timespec *, int)
 
 #if !defined ISO && !defined ISO99 && !defined ISO11
 # if !defined XOPEN21K && !defined XOPEN2K8 && !defined POSIX2008
-constant CLK_TCK
+symbol CLK_TCK
 # endif
 constant CLOCK_PROCESS_CPUTIME_ID
 constant CLOCK_THREAD_CPUTIME_ID
@@ -71,10 +71,14 @@ variable int getdate_err
 # endif
 
 function {char*} asctime_r (const struct tm*, char*)
+#if !defined POSIX
 function int clock_getcpuclockid (pid_t, clockid_t*)
+#endif
 function int clock_getres (clockid_t, struct timespec*)
 function int clock_gettime (clockid_t, struct timespec*)
+#if !defined POSIX
 function int clock_nanosleep (clockid_t, int, const struct timespec*, struct timespec*)
+#endif
 function int clock_settime (clockid_t, const struct timespec*)
 function {char*} ctime_r (const time_t*, char*)
 # if !defined POSIX && !defined POSIX2008