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 --- locale.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'locale.c') diff --git a/locale.c b/locale.c index 9714995..238f1e2 100644 --- a/locale.c +++ b/locale.c @@ -2,17 +2,16 @@ #include #include "test.h" -static int locale_categories[] = { - LC_ALL, - LC_COLLATE, - LC_CTYPE, - LC_MONETARY, - LC_NUMERIC, -}; - void test_locale_h(void) { struct lconv *lc; + int locale_categories[] = { + LC_ALL, + LC_COLLATE, + LC_CTYPE, + LC_MONETARY, + LC_NUMERIC, + }; testing_header("locale.h"); -- cgit v1.2.1