summaryrefslogtreecommitdiff
path: root/src/locale/localeconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/localeconv.c')
-rw-r--r--src/locale/localeconv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/locale/localeconv.c b/src/locale/localeconv.c
index e63402e2..0021c13a 100644
--- a/src/locale/localeconv.c
+++ b/src/locale/localeconv.c
@@ -1,6 +1,5 @@
#include <locale.h>
#include "_locale.h"
-#include "../_nonstd.h"
/** return locale-specific information **/
struct lconv * localeconv(void)
@@ -8,7 +7,7 @@ struct lconv * localeconv(void)
/*
RETURN_SUCCESS(a pointer to a filled-in STRUCTDEF(lconv) for the current locale);
*/
- return __libc(LCONV);
+ return &(__get_locale()->lconv);
}
/***