[git commit future] bits/types.h: remove thread types, users should include pthread.h

Peter S. Mazinger ps.m at gmx.net
Thu May 5 07:33:14 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=930f81f202db11888283fe05a3881c7ca7b87920
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 libc/sysdeps/linux/common/bits/types.h |    9 +--------
 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 b50e090..6ca331a 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 */
-- 
1.7.3.4



More information about the uClibc-cvs mailing list