summaryrefslogtreecommitdiff
path: root/include/langinfo.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-14 18:41:25 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-14 18:41:25 -0500
commit74eea628cf43355ba2b227f0bb3c31697d637761 (patch)
tree9fe300db7b7fa7f541bdfa41176d0f6333851e74 /include/langinfo.h
parent80695b1d1e64a026c473a33965e680444e863e34 (diff)
downloadmusl-74eea628cf43355ba2b227f0bb3c31697d637761.tar.gz
extensive header cleanup for standards conformance & correctness
thanks to Peter Mazinger (psm) for pointing many of these issues out and submitting a patch on which this commit is loosely based
Diffstat (limited to 'include/langinfo.h')
-rw-r--r--include/langinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/langinfo.h b/include/langinfo.h
index 4d9e0997..b9c55695 100644
--- a/include/langinfo.h
+++ b/include/langinfo.h
@@ -6,6 +6,7 @@ extern "C" {
#endif
#define __NEED_nl_item
+#define __NEED_locale_t
#include <bits/alltypes.h>
@@ -77,6 +78,7 @@ extern "C" {
#define NOSTR 0x50003
char *nl_langinfo(nl_item);
+char *nl_langinfo_l(nl_item, locale_t);
#ifdef __cplusplus
}