mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03: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:
@ -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>
|
2017-02-27 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
[BZ #21115]
|
[BZ #21115]
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#define _BITS_SIGTHREAD_H 1
|
#define _BITS_SIGTHREAD_H 1
|
||||||
|
|
||||||
#if !defined _SIGNAL_H && !defined _PTHREAD_H
|
#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
|
#endif
|
||||||
|
|
||||||
/* Modify the signal mask for the calling thread. The arguments have the
|
/* Modify the signal mask for the calling thread. The arguments have the
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#define _BITS_SIGTHREAD_H 1
|
#define _BITS_SIGTHREAD_H 1
|
||||||
|
|
||||||
#if !defined _SIGNAL_H && !defined _PTHREAD_H
|
#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
|
#endif
|
||||||
|
|
||||||
/* Functions for handling signals. */
|
/* Functions for handling signals. */
|
||||||
|
Reference in New Issue
Block a user