diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-02-26 13:17:27 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-02-26 13:17:27 -0500 |
commit | 4efeffc1d583597e4f52985b9747269e47b754e2 (patch) | |
tree | 65bb598457542a0de30c60646173679c5ea42557 /conform/data/time.h-data | |
parent | c20105c398036c4fbeb99f8480ab84077a0f6f2c (diff) | |
download | glibc-4efeffc1d583597e4f52985b9747269e47b754e2.tar.gz glibc-4efeffc1d583597e4f52985b9747269e47b754e2.tar.xz glibc-4efeffc1d583597e4f52985b9747269e47b754e2.zip |
Fix up POSIX testing in conformtest
Diffstat (limited to 'conform/data/time.h-data')
-rw-r--r-- | conform/data/time.h-data | 6 |
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 |