Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas <info@ourairquality.org>2016-11-27 04:13:31 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-11-28 11:54:38 +0300
commit5fdd657b369aa2c08a8d1cfd12d5e23227d78c66 (patch)
treeba4e84004bc8e4d7ef461dad2fe49f548c59a8f5
parent724e21493ab48794336f3d97152aeaa1fe3adbee (diff)
Correct argument to __get_current_locale.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--newlib/libc/locale/locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c
index b7ced4d40..857282105 100644
--- a/newlib/libc/locale/locale.c
+++ b/newlib/libc/locale/locale.c
@@ -996,7 +996,7 @@ __locale_ctype_ptr_l (struct __locale_t *locale)
const char *
__locale_ctype_ptr (void)
{
- return __get_current_locale (_REENT)->ctype_ptr;
+ return __get_current_locale ()->ctype_ptr;
}
#ifndef _REENT_ONLY