]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Refer to <signal.h> instead of <pthread.h> in <bits/sigthread.h>
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 27 Feb 2017 21:55:00 +0000 (22:55 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 28 Feb 2017 09:34:15 +0000 (10:34 +0100)
The <bits/sigthread.h> header is included by <signal.h>, not <pthread.h>.

ChangeLog
bits/sigthread.h
sysdeps/pthread/bits/sigthread.h

index a64fff8c6b000944c85a44c67cfae6fbfca719dd..19ec5b2ec5dfb994cc3af328bec883e9b852edb0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
+       * sysdeps/pthread/bits/sigthread.h: Likewise.
+
 2017-02-27  Florian Weimer  <fweimer@redhat.com>
 
        [BZ #21115]
index 1cb14a811c7ef8b27311ae5432a64145f13b4ab4..29e578d514401932a900ace795c56fd010f40de7 100644 (file)
@@ -20,7 +20,7 @@
 #define _BITS_SIGTHREAD_H      1
 
 #if !defined _SIGNAL_H && !defined _PTHREAD_H
-# error "Never include this file directly.  Use <pthread.h> instead"
+# error "Never include this file directly.  Use <signal.h> instead"
 #endif
 
 /* Modify the signal mask for the calling thread.  The arguments have the
index 30a3af0177f6d5bfcf10adc52bbd0f25e7749c65..4302ee41e807b44db98fa21760a6485f89619be2 100644 (file)
@@ -20,7 +20,7 @@
 #define _BITS_SIGTHREAD_H      1
 
 #if !defined _SIGNAL_H && !defined _PTHREAD_H
-# error "Never include this file directly.  Use <pthread.h> instead"
+# error "Never include this file directly.  Use <signal.h> instead"
 #endif
 
 /* Functions for handling signals. */