From eaa4099fd64e99dd3c86d993e18a87bc0207c5ed Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 5 Dec 2002 01:09:19 +0000 Subject: Update. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: (struct sigevent): Change type of _attribute to void*. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. --- nptl/ChangeLog | 6 ++++++ nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h | 2 +- nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'nptl') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index a25ecccc13..45a7b34c9a 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2002-12-04 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Make pthread_t + a completely opaque, non-integer type. + * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. + 2002-12-05 Jakub Jelinek * sysdeps/i386/tls.h: Include stdlib.h. diff --git a/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h index 2167bbb988..dbd477cca0 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 unsigned long int pthread_t; +typedef struct __opaque_pthread *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 95dd3c5453..d7550d597d 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 unsigned long int pthread_t; +typedef struct __opaque_pthread *pthread_t; typedef union -- cgit 1.4.1