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>.
This commit is contained in:
Andreas Schwab 2017-02-27 22:55:00 +01:00
parent d42eed4a04
commit b31737bdf9
3 changed files with 7 additions and 2 deletions

View File

@ -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]

View 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

View 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. */