From 22f9d9df92ee5ce1f12d7bec598e718fb06b571a Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Mon, 27 Feb 2012 12:59:16 -0800 Subject: Fix stray references to __pthread_attr * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Don't refer to non-existing __pthread_attr. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. --- nptl/ChangeLog | 10 ++++++++++ nptl/sysdeps/unix/sysv/linux/i386/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 +- 7 files changed, 16 insertions(+), 6 deletions(-) (limited to 'nptl') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index d376cf0..23040e4 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,13 @@ +2012-02-27 David S. Miller + + * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Don't refer to non-existing + __pthread_attr. + * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. + 2012-02-26 Ulrich Drepper * sysdeps/pthread/pthread.h: Define __need_clockid_t for __USE_XOPEN2K. diff --git a/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h index b764d06..5952454 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h @@ -41,7 +41,7 @@ union pthread_attr_t long int __align; }; #ifndef __have_pthread_attr_t -typedef union __pthread_attr pthread_attr_t; +typedef union pthread_attr_t pthread_attr_t; # define __have_pthread_attr_t 1 #endif diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h index 640605f..1a02520 100644 --- a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h @@ -55,7 +55,7 @@ union pthread_attr_t long int __align; }; #ifndef __have_pthread_attr_t -typedef union __pthread_attr pthread_attr_t; +typedef union pthread_attr_t pthread_attr_t; # define __have_pthread_attr_t 1 #endif diff --git a/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h index ce57235..2f80fa9 100644 --- a/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h @@ -54,7 +54,7 @@ union pthread_attr_t long int __align; }; #ifndef __have_pthread_attr_t -typedef union __pthread_attr pthread_attr_t; +typedef union pthread_attr_t pthread_attr_t; # define __have_pthread_attr_t 1 #endif diff --git a/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h index 633d3c3..ce8bd71 100644 --- a/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h @@ -43,7 +43,7 @@ union pthread_attr_t long int __align; }; #ifndef __have_pthread_attr_t -typedef union __pthread_attr pthread_attr_t; +typedef union pthread_attr_t pthread_attr_t; # define __have_pthread_attr_t 1 #endif diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h index dbefd98..cc95367 100644 --- a/nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h @@ -55,7 +55,7 @@ union pthread_attr_t long int __align; }; #ifndef __have_pthread_attr_t -typedef union __pthread_attr pthread_attr_t; +typedef union pthread_attr_t pthread_attr_t; # define __have_pthread_attr_t 1 #endif 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 a83ab37..32be0b6 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h @@ -54,7 +54,7 @@ union pthread_attr_t long int __align; }; #ifndef __have_pthread_attr_t -typedef union __pthread_attr pthread_attr_t; +typedef union pthread_attr_t pthread_attr_t; # define __have_pthread_attr_t 1 #endif -- cgit v1.1