diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-23 19:06:18 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-23 19:06:18 +0200 |
commit | a86a4a149b67a83d5c08238d0b802d372332bfba (patch) | |
tree | 3eb9e0c44cb3ac931b6285cd34ed673745752386 /sysdeps/generic/pt-cond.c | |
parent | ba5c9d57be1a4e8167747dfdf4d94c2e03b9e24d (diff) |
Use __clockid_t instead of clockid_t
Using clockid_t just for pthread types makes us pull <time.h>, which defines
time(), which may conflict with applications.
* include/pthread/pthread.h (pthread_condattr_getclock,
pthread_condattr_setclock, pthread_getcpuclockid): Use __clockid_t instead
of clockid_t.
* include/pthread/pthreadtypes.h: Include <bits/types.h>, instead of <time.h>
and defining clockid_t ourself when not defined by time.h.
* sysdeps/generic/bits/condition-attr.h: Include <bits/types.h> instead of
<time.h>.
(__pthread_condattr): Use __clockid_t instead of clockid_t.
Diffstat (limited to 'sysdeps/generic/pt-cond.c')
0 files changed, 0 insertions, 0 deletions