#include "s_conf.h"
#include "client.h"
#include "send.h"
-
-#ifndef _WIN32
-
#include <sys/types.h>
#include <sys/wait.h>
/*
* sigterm_handler - exit the server
*/
+static void
+sigterm_handler(int sig) __attribute__((noreturn));
+
static void
sigterm_handler(int sig)
{
sigprocmask(SIG_UNBLOCK, &sigs, NULL);
}
-
-#else
-void
-setup_signals()
-{
-/* this is a stub for mingw32 */
-}
-
-void
-setup_reboot_signals()
-{
-/* this is a stub for mingw32 */
-}
-#endif