mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
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:
parent
d42eed4a04
commit
b31737bdf9
@ -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]
|
||||
|
@ -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
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user