From a427b28cfd116cc8c9f2a113261e015f2e7fd0c6 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 16 Dec 2020 14:41:30 -0700 Subject: [PATCH] locale.c: Declare three static arrays to be so. --- locale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/locale.c b/locale.c index 21c8325e99d2..06b909aa33b0 100644 --- a/locale.c +++ b/locale.c @@ -167,7 +167,7 @@ S_stdize_locale(pTHX_ char *locs) * the second array is their names. These arrays are in mostly arbitrary * order. */ -const int categories[] = { +STATIC const int categories[] = { # ifdef USE_LOCALE_NUMERIC LC_NUMERIC, @@ -218,7 +218,7 @@ const int categories[] = { /* The top-most real element is LC_ALL */ -const char * const category_names[] = { +STATIC const char * const category_names[] = { # ifdef USE_LOCALE_NUMERIC "LC_NUMERIC", @@ -460,7 +460,7 @@ S_category_name(const int category) /* A third array, parallel to the ones above to map from category to its * equivalent mask */ -const int category_masks[] = { +STATIC const int category_masks[] = { # ifdef USE_LOCALE_NUMERIC LC_NUMERIC_MASK, # endif