summaryrefslogtreecommitdiff
path: root/src/win32/sigaction/sigaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/sigaction/sigaction.h')
-rw-r--r--src/win32/sigaction/sigaction.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/win32/sigaction/sigaction.h b/src/win32/sigaction/sigaction.h
index c517ba16d..9e74eeffa 100644
--- a/src/win32/sigaction/sigaction.h
+++ b/src/win32/sigaction/sigaction.h
@@ -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,20 +8,21 @@
* Based on the original code of Services by Andy Church.
*/
-#define sigemptyset(x) memset((x), 0, sizeof(*(x)))
+ #define sigemptyset(x) memset((x), 0, sizeof(*(x)))
-#ifndef SIGHUP
-# define SIGHUP -1
-#endif
-#ifndef SIGPIPE
-# define SIGPIPE -1
-#endif
+ #ifndef SIGHUP
+ # define SIGHUP -1
+ #endif
+ #ifndef SIGPIPE
+ # define SIGPIPE -1
+ #endif
-struct sigaction
-{
+ struct sigaction
+ {
void (*sa_handler)(int);
int sa_flags;
int sa_mask;
-};
+ };
+
+ extern int sigaction(int, struct sigaction *, struct sigaction *);
-extern int sigaction(int, struct sigaction *, struct sigaction *);