diff options
author | Adam Jackson <ajax@redhat.com> | 2016-06-07 15:52:11 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-06-08 11:36:31 -0400 |
commit | 6178b1c91cfc9e860914acc6f0be2f2d2e07a124 (patch) | |
tree | ea2fdadb27b3103f21f5d58ab4014a61953ed7a0 /include | |
parent | 8174daa6bd3f0c792425a5ebef63a6a9ce7d00a4 (diff) |
dix: Use OsSignal() not signal()
As the man page for the latter states:
The effects of signal() in a multithreaded process are unspecified.
We already have an interface to call sigaction() instead, use it.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/globals.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/globals.h b/include/globals.h index 858c9a375..693bdf4f2 100644 --- a/include/globals.h +++ b/include/globals.h @@ -2,8 +2,6 @@ #ifndef _XSERV_GLOBAL_H_ #define _XSERV_GLOBAL_H_ -#include <signal.h> - #include "window.h" /* for WindowPtr */ #include "extinit.h" |