POSIX sigaction cleanups - removed act.sa_restorer as it's not in POSIX and

is not portable
This commit is contained in:
Mike A. Harris 2003-09-11 02:02:54 +00:00
parent 514ab46ce3
commit 8bc8fd8678

View File

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