summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a64fff8c6b..19ec5b2ec5 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 1cb14a811c..29e578d514 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 30a3af0177..4302ee41e8 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. */