]> jfr.im git - solanum.git/blobdiff - ircd/ircd_signal.c
whowas.c: store account name in whowas (#323)
[solanum.git] / ircd / ircd_signal.c
index 0b3ffdb6eda3f029d08951d41cd7e7aba24aff5d..22472529d6890ef1600486aabd6d924e52f46a33 100644 (file)
@@ -26,9 +26,6 @@
 #include "s_conf.h"
 #include "client.h"
 #include "send.h"
-
-#ifndef _WIN32
-
 #include <sys/types.h>
 #include <sys/wait.h>
 
@@ -57,6 +54,9 @@ sigchld_handler(int sig)
 /*
  * sigterm_handler - exit the server
  */
+static void
+sigterm_handler(int sig) __attribute__((noreturn));
+
 static void
 sigterm_handler(int sig)
 {
@@ -176,17 +176,3 @@ setup_signals()
 
        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