about summary refs log tree commit diff
path: root/src/signal/bsd_signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/bsd_signal.c')
-rw-r--r--src/signal/bsd_signal.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/signal/bsd_signal.c b/src/signal/bsd_signal.c
new file mode 100644
index 00000000..0b9a6855
--- /dev/null
+++ b/src/signal/bsd_signal.c
@@ -0,0 +1,6 @@
+#include <signal.h>
+
+void (*bsd_signal(int sig, void (*func)(int)))(int)
+{
+	return signal(sig, func);
+}