summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/signal.c b/signal.c
index 050534a..c109645 100644
--- a/signal.c
+++ b/signal.c
@@ -1,19 +1,19 @@
#include <signal.h>
#include "test.h"
-static sig_atomic_t sig_atomic;
-
-static int signals[] = {
- SIGABRT,
- SIGFPE,
- SIGILL,
- SIGINT,
- SIGSEGV,
- SIGTERM,
-};
-
void test_signal_h(void)
{
+ sig_atomic_t sig_atomic;
+
+ int signals[] = {
+ SIGABRT,
+ SIGFPE,
+ SIGILL,
+ SIGINT,
+ SIGSEGV,
+ SIGTERM,
+ };
+
testing_header("signal.h");
test_distinct(signals);