summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-07-19 11:34:08 -0600
committerKarl Williamson <khw@cpan.org>2017-11-08 19:50:29 -0700
commitb8cc575c43d6ed3f6b7eb7b3f1eefeb1b57ac7d1 (patch)
treef71df3e1d52bfc3d4bc551b8057ca7bc41854156 /locale.c
parent86799d2d7311249b2270db1ccb7d283999810d4f (diff)
downloadperl-b8cc575c43d6ed3f6b7eb7b3f1eefeb1b57ac7d1.tar.gz
locale.c: Change static fcn name
The new name more closely reflects what it does
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/locale.c b/locale.c
index 46b0ec663e..a8240e2ada 100644
--- a/locale.c
+++ b/locale.c
@@ -742,8 +742,10 @@ S_new_collate(pTHX_ const char *newcoll)
#else /* WIN32 */
+#define my_setlocale(a,b) win32_setlocale(a,b)
+
STATIC char *
-S_my_setlocale(pTHX_ int category, const char* locale)
+S_win32_setlocale(pTHX_ int category, const char* locale)
{
/* This, for Windows, emulates POSIX setlocale() behavior. There is no
* difference between the two unless the input locale is "", which normally