summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/signal.c b/signal.c
index 4e0d9be..d2c96e2 100644
--- a/signal.c
+++ b/signal.c
@@ -1,10 +1,10 @@
#include <signal.h>
#include "test.h"
+sig_atomic_t test_sig_atomic = 0;
+
void test_signal_h(void)
{
- sig_atomic_t sig_atomic = 0;
-
int signals[] = {
SIGABRT,
SIGFPE,
@@ -14,8 +14,6 @@ void test_signal_h(void)
SIGTERM,
};
- (void)sig_atomic;
-
testing_header("signal.h");
test_distinct(signals);