summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-01 19:46:28 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-01 19:46:28 -0500
commit1ee4fe83d74978f44eb61b23dda9c258f4af82b1 (patch)
tree358c7a26e017457c44804fa10d0c7e82042cb569 /signal.c
parentdf9ef3a48883d4a34eeabbfd5af42f289c1353c2 (diff)
decide not to try autogenerating tests, it is too error prone
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/signal.c b/signal.c
index 13aa074..050534a 100644
--- a/signal.c
+++ b/signal.c
@@ -1,7 +1,16 @@
#include <signal.h>
#include "test.h"
-#include "signal.d"
+static sig_atomic_t sig_atomic;
+
+static int signals[] = {
+ SIGABRT,
+ SIGFPE,
+ SIGILL,
+ SIGINT,
+ SIGSEGV,
+ SIGTERM,
+};
void test_signal_h(void)
{