From 4efeffc1d583597e4f52985b9747269e47b754e2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 26 Feb 2012 13:17:27 -0500 Subject: Fix up POSIX testing in conformtest --- conform/data/time.h-data | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'conform/data/time.h-data') 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 -- cgit 1.4.1