aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/pthread/pthread.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-03-09 21:10:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-03-09 21:10:45 +0000
commit90ad551f732ab70f0f1fca3d12d60c3d2d0e118c (patch)
treeb33d30d4f2e6afd82fdeb7519d982b741af60573 /nptl/sysdeps/pthread/pthread.h
parent67bb6da6798d55fff7ed759af51799dfeca740d3 (diff)
downloadglibc-90ad551f732ab70f0f1fca3d12d60c3d2d0e118c.zip
glibc-90ad551f732ab70f0f1fca3d12d60c3d2d0e118c.tar.gz
glibc-90ad551f732ab70f0f1fca3d12d60c3d2d0e118c.tar.bz2
Make pthread.h define all symbols from time.h.
See: http://www.pasc.org/interps/unofficial/db/p1003.1c/pasc-1003.1c-46.html http://www.pasc.org/interps/unofficial/db/p1003.1/pasc-1003.1-86.html https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=index.tpl&source=L&listname=austin-group-l&id=17302 (Geoff Clare, austin-group-l, 9 Mar 2012)
Diffstat (limited to 'nptl/sysdeps/pthread/pthread.h')
-rw-r--r--nptl/sysdeps/pthread/pthread.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h
index 0d33cbd..bd97e85 100644
--- a/nptl/sysdeps/pthread/pthread.h
+++ b/nptl/sysdeps/pthread/pthread.h
@@ -21,10 +21,6 @@
#include <features.h>
#include <endian.h>
#include <sched.h>
-#ifdef __USE_XOPEN2K
-# define __need_clockid_t
-#endif
-#define __need_timespec
#include <time.h>
#include <bits/pthreadtypes.h>