From 806e4a4a010f0c7e008a13e72c50136ee12b187f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 9 Sep 2003 00:07:08 +0000 Subject: Update. 2003-09-08 Jakub Jelinek * sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit. (__u_quad_t): Make unsigned long int if 64-bit. (__SQUAD_TYPE): Make long int if 64-bit. (__UQUAD_TYPE): Make unsigned long int if 64-bit. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove. 2003-09-08 Ulrich Drepper * Makefile (tests): Run check-c++-types.sh if possible. * scripts/check-c++-types.h: New file. * scripts/data/c++-ctypes-i386-linux-gnu.data: New file. contiguous case. Bug report from Prem Gopalan . --- nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h | 2 +- nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h | 3 ++- nptl/sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h | 2 +- nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h | 2 +- nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h | 2 +- nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h | 2 +- nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h | 2 +- nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) (limited to 'nptl/sysdeps/unix/sysv/linux') diff --git a/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h index bd5ab9706c..2d8a00b93f 100644 --- a/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h @@ -33,7 +33,7 @@ /* Thread identifiers. The structure of the attribute type is deliberately not exposed. */ -typedef struct __opaque_pthread *pthread_t; +typedef unsigned long int pthread_t; typedef union diff --git a/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h index a098106629..e31c27da22 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h @@ -33,7 +33,7 @@ /* Thread identifiers. The structure of the attribute type is not exposed on purpose. */ -typedef struct __opaque_pthread *pthread_t; +typedef unsigned long int pthread_t; typedef union @@ -80,6 +80,7 @@ typedef union unsigned long long int __wakeup_seq; unsigned long long int __woken_seq; void *__mutex; + int __locker; } __data; char __size[__SIZEOF_PTHREAD_COND_T]; long long int __align; diff --git a/nptl/sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h index c1eca62be7..6cd6c05705 100644 --- a/nptl/sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h @@ -33,7 +33,7 @@ /* Thread identifiers. The structure of the attribute type is not exposed on purpose. */ -typedef struct __opaque_pthread *pthread_t; +typedef unsigned long int pthread_t; typedef union diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h index f827b3098d..2d98a80e36 100644 --- a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h @@ -48,7 +48,7 @@ /* Thread identifiers. The structure of the attribute type is deliberately not exposed. */ -typedef struct __opaque_pthread *pthread_t; +typedef unsigned long int pthread_t; typedef union diff --git a/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h index 2d37683ee2..022ba4982b 100644 --- a/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h @@ -47,7 +47,7 @@ /* Thread identifiers. The structure of the attribute type is not exposed on purpose. */ -typedef struct __opaque_pthread *pthread_t; +typedef unsigned long int pthread_t; typedef union diff --git a/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h index 8236fd724a..3cd84864f4 100644 --- a/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h @@ -34,7 +34,7 @@ /* Thread identifiers. The structure of the attribute type is not exposed on purpose. */ -typedef struct __opaque_pthread *pthread_t; +typedef unsigned long int pthread_t; typedef union diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h index 0560689a86..b947439e34 100644 --- a/nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h @@ -48,7 +48,7 @@ /* Thread identifiers. The structure of the attribute type is deliberately not exposed. */ -typedef struct __opaque_pthread *pthread_t; +typedef unsigned long int pthread_t; typedef union diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h index ed3050e636..3f151d04ed 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h @@ -33,7 +33,7 @@ /* Thread identifiers. The structure of the attribute type is not exposed on purpose. */ -typedef struct __opaque_pthread *pthread_t; +typedef unsigned long int pthread_t; typedef union -- cgit 1.4.1