summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-05-08 00:39:06 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:44 +0200
commit52029220899bc6d566541de1e3da8cd21327e4a5 (patch)
treec2b9557c7d1c1869f558b255a033dd015becc433
parent1d2dbb9eb220f313ebc712f1c69c611f6867da54 (diff)
bits/types.h: remove thread types, users should include pthread.h
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--libc/sysdeps/linux/common/bits/types.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/common/bits/types.h b/libc/sysdeps/linux/common/bits/types.h
index b50e0900d..6ca331a54 100644
--- a/libc/sysdeps/linux/common/bits/types.h
+++ b/libc/sysdeps/linux/common/bits/types.h
@@ -1,5 +1,5 @@
/* bits/types.h -- definitions of __*_t types underlying *_t types.
- Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -27,8 +27,6 @@
#include <features.h>
#include <bits/wordsize.h>
-#define __need_size_t
-#include <stddef.h>
#ifdef _LIBC
#include <bits/kernel_types.h>
#endif
@@ -200,9 +198,4 @@ __STD_TYPE __U32_TYPE __socklen_t;
#undef __STD_TYPE
-/* Now add the thread types. */
-#if defined __UCLIBC_HAS_THREADS__ && (defined __USE_POSIX199506 || defined __USE_UNIX98)
-# include <bits/pthreadtypes.h>
-#endif
-
#endif /* bits/types.h */