aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2017-02-27 22:55:00 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2017-02-28 10:34:15 +0100
commitb31737bdf94a1d9eb4108d10c4d38241b6fe788b (patch)
tree29d8a873dc986f3b166f6eef432b7253d63e6340
parentd42eed4a044e5e10dfb885cf9891c2518a72a491 (diff)
downloadglibc-b31737bdf94a1d9eb4108d10c4d38241b6fe788b.zip
glibc-b31737bdf94a1d9eb4108d10c4d38241b6fe788b.tar.gz
glibc-b31737bdf94a1d9eb4108d10c4d38241b6fe788b.tar.bz2
Refer to <signal.h> instead of <pthread.h> in <bits/sigthread.h>
The <bits/sigthread.h> header is included by <signal.h>, not <pthread.h>.
-rw-r--r--ChangeLog5
-rw-r--r--bits/sigthread.h2
-rw-r--r--sysdeps/pthread/bits/sigthread.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a64fff8..19ec5b2 100644
--- 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]
diff --git a/bits/sigthread.h b/bits/sigthread.h
index 1cb14a8..29e578d 100644
--- a/bits/sigthread.h
+++ b/bits/sigthread.h
@@ -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
diff --git a/sysdeps/pthread/bits/sigthread.h b/sysdeps/pthread/bits/sigthread.h
index 30a3af0..4302ee4 100644
--- a/sysdeps/pthread/bits/sigthread.h
+++ b/sysdeps/pthread/bits/sigthread.h
@@ -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. */