diff options
Diffstat (limited to 'src/win32/sigaction/sigaction.cpp')
-rw-r--r-- | src/win32/sigaction/sigaction.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/win32/sigaction/sigaction.cpp b/src/win32/sigaction/sigaction.cpp index 17faaf2fb..51615cf39 100644 --- a/src/win32/sigaction/sigaction.cpp +++ b/src/win32/sigaction/sigaction.cpp @@ -1,7 +1,6 @@ -/* POSIX emulation layer for Windows. + /* POSIX emulation layer for Windows. * - * (C) 2008-2016 Anope Team - * Contact us at team@anope.org + * Copyright (C) 2008-2014 Anope Team <team@anope.org> * * Please read COPYING and README for further details. * @@ -9,12 +8,12 @@ * Based on the original code of Services by Andy Church. */ -#include <windows.h> -#include "sigaction.h" -#include <signal.h> + #include <windows.h> + #include "sigaction.h" + #include <signal.h> -int sigaction(int sig, struct sigaction *action, struct sigaction *old) -{ + int sigaction(int sig, struct sigaction *action, struct sigaction *old) + { if (sig == -1) return 0; if (old == NULL) @@ -28,4 +27,4 @@ int sigaction(int sig, struct sigaction *action, struct sigaction *old) return -1; } return 0; -} + } |