This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Add missing STATIC
authorKarl Williamson <khw@cpan.org>
Thu, 8 Mar 2018 20:10:30 +0000 (13:10 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 8 Mar 2018 20:16:55 +0000 (13:16 -0700)
Spotted by H. Merijn Brand

locale.c

index e778e3b..ca163cd 100644 (file)
--- a/locale.c
+++ b/locale.c
@@ -2425,7 +2425,7 @@ Perl_langinfo(const int item)
     return my_nl_langinfo(item, TRUE);
 }
 
-const char *
+STATIC const char *
 #ifdef HAS_NL_LANGINFO
 S_my_nl_langinfo(const nl_item item, bool toggle)
 #else