diff --git a/common/os_calls.c b/common/os_calls.c index b3a80438..c29200ea 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -1731,20 +1731,6 @@ g_signal_child_stop(void (*func)(int)) #endif } -/*****************************************************************************/ -/* does not work in win32 */ -void APP_CC -g_unset_signals(void) -{ -#if defined(_WIN32) -#else - sigset_t mask; - - sigemptyset(&mask); - sigprocmask(SIG_SETMASK, &mask, NULL); -#endif -} - /*****************************************************************************/ /* does not work in win32 */ int APP_CC diff --git a/common/os_calls.h b/common/os_calls.h index c9707cac..581d1a3c 100644 --- a/common/os_calls.h +++ b/common/os_calls.h @@ -198,8 +198,6 @@ void APP_CC g_signal(int sig_num, void (*func)(int)); void APP_CC g_signal_child_stop(void (*func)(int)); -void APP_CC -g_unset_signals(void); int APP_CC g_fork(void); int APP_CC diff --git a/sesman/session.c b/sesman/session.c index 8249f7fa..2a96392f 100644 --- a/sesman/session.c +++ b/sesman/session.c @@ -245,7 +245,6 @@ for user %s denied", username); } else if (pid == 0) /* child sesman */ { - g_unset_signals(); auth_start_session(data, display); g_sprintf(geometry, "%dx%d", width, height); g_sprintf(depth, "%d", bpp);