]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove wrong definitions from pthread header refactor
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 11 May 2017 13:46:03 +0000 (10:46 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 11 May 2017 13:46:03 +0000 (10:46 -0300)
This patch removes wrong struct definition from eab380d (Move shared
pthread definitions to common headers) on ARM and hppa.

Checked on arm-linux-gnueabihf.

* sysdeps/arm/nptl/bits/pthreadtypes-arch.h
(__pthread_rwlock_arch_t): Remove __data definition.
* sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
(__pthread_rwlock_arch_t): Likewise.

ChangeLog
sysdeps/arm/nptl/bits/pthreadtypes-arch.h
sysdeps/hppa/nptl/bits/pthreadtypes-arch.h

index 1adcdf139d54ac5ef6d2c834bfbc164d76385366..95611f3a1fc3112e171ae790e86f334aa332267b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
+       (__pthread_rwlock_arch_t): Remove __data definition.
+       * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
+       (__pthread_rwlock_arch_t): Likewise.
+
 2017-05-11  Florian Weimer  <fweimer@redhat.com>
 
        * resolv/inet_pton.c: Reformat in GNU style.  Remove
index 8333acb4ec16eb73ea6010c061e3d7cb20854c63..3f9eca4645e3b300a18433dfb2a6ab898068b0d7 100644 (file)
@@ -62,7 +62,7 @@ struct __pthread_rwlock_arch_t
   unsigned char __pad2;
 #endif
   int __cur_writer;
-} __data;
+};
 
 #define __PTHREAD_RWLOCK_ELISION_EXTRA 0
 
index 131e30e93d2fcb25dd68c1db09fbf964016629b4..7befe5de6d52ec1c1673b631210ed77e5d191cb5 100644 (file)
@@ -82,7 +82,7 @@ struct __pthread_rwlock_arch_t
   int __reserved2;
   int __reserved3;
   int __reserved4;
-} __data;
+};
 
 #define __PTHREAD_RWLOCK_ELISION_EXTRA 0