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, 2 insertions, 1 deletions
diff --git a/src/locale/localeconv.c b/src/locale/localeconv.c
index fecb9176..ba4687d9 100644
--- a/src/locale/localeconv.c
+++ b/src/locale/localeconv.c
@@ -1,7 +1,6 @@
#include <locale.h>
#include "_locale.h"
#include "_safety.h"
-#undef localeconv
/** return locale-specific information **/
@@ -15,6 +14,8 @@ struct lconv * localeconv(void)
return &(__get_locale()->lconv);
}
+__check_0(struct lconv *, NULL, localeconv)
+
/***
fills in a STRUCTDEF(lconv) in the current locale for
use in formatting numbers and monetary values.