mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 08:15:24 +00:00
POSIX sigaction cleanups - removed act.sa_restorer as it's not in POSIX and
is not portable
This commit is contained in:
@@ -237,7 +237,6 @@ LinuxSetSwitchMode (int mode)
|
||||
act.sa_handler = LinuxVTRequest;
|
||||
sigemptyset (&act.sa_mask);
|
||||
act.sa_flags = 0;
|
||||
act.sa_restorer = 0;
|
||||
sigaction (SIGUSR1, &act, 0);
|
||||
|
||||
VT.mode = mode;
|
||||
@@ -249,7 +248,6 @@ LinuxSetSwitchMode (int mode)
|
||||
act.sa_handler = SIG_IGN;
|
||||
sigemptyset (&act.sa_mask);
|
||||
act.sa_flags = 0;
|
||||
act.sa_restorer = 0;
|
||||
sigaction (SIGUSR1, &act, 0);
|
||||
|
||||
VT.mode = mode;
|
||||
|
||||
Reference in New Issue
Block a user