]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
nptl: Fix typo on __have_pthread_attr_t (BZ#21715)
authorMatthew Krupcale <mkrupcale@matthewkrupcale.com>
Thu, 6 Jul 2017 13:22:20 +0000 (10:22 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 6 Jul 2017 13:27:24 +0000 (10:27 -0300)
This patch fixes some build issues when including types/sigevent_t.h
along with bits/pthreadtypes.h.

Checked on x86_64-linux-gnu and on a build on supported major ABIs.

[BZ #21715]
* sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
on definition.

ChangeLog
sysdeps/nptl/bits/pthreadtypes.h

index 70e0a25eda7fda9677e791e17f9ec87375a2811c..04a2647d9098e69b6974542d43d74e88e60591c4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-07-06  Matthew Krupcale  <mkrupcale@matthewkrupcale.com>
+
+       [BZ #21715]
+       * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
+       on definition.
+
 2017-07-06  Florian Weimer  <fweimer@redhat.com>
            H.J. Lu  <hongjiu.lu@intel.com>
 
index 8839559f5a0bb9612f3fde101ab76bd463ef6fed..0941e9eb961062efe45fa12880f0721146d48798 100644 (file)
@@ -60,7 +60,7 @@ union pthread_attr_t
 };
 #ifndef __have_pthread_attr_t
 typedef union pthread_attr_t pthread_attr_t;
-# define __have_pthread_attr_t1
+# define __have_pthread_attr_t 1
 #endif