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(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index d376cf0fad..23040e463c 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 b764d06413..5952454e60 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 640605fb9c..1a02520f6c 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 ce5723507b..2f80fa9b69 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 633d3c3bf9..ce8bd713b4 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 dbefd9813b..cc95367a61 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 a83ab37290..32be0b6421 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 1.4.1