From 47fbd9c2bd6c59b46fcf4c93851192cbb9240ebb Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 1 Mar 2019 19:52:55 -0500 Subject: move test variables into function body --- signal.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'signal.c') diff --git a/signal.c b/signal.c index 050534a..c109645 100644 --- a/signal.c +++ b/signal.c @@ -1,19 +1,19 @@ #include #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); -- cgit v1.2.1