summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--locale/langinfo.h11
2 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b784d9966..b811bce514 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
-2000-09-26 Andreas Jaeger <aj@suse.de>
+2000-09-26 Ulrich Drepper <drepper@redhat.com>
- * include/langinfo.h (__nl_langinfo_l): Add prototype.
+ * locale/langinfo.h (__nl_langinfo_l): Add prototype.
2000-09-26 Andreas Jaeger <aj@suse.de>
diff --git a/locale/langinfo.h b/locale/langinfo.h
index 494b14e413..c8ffa1db5e 100644
--- a/locale/langinfo.h
+++ b/locale/langinfo.h
@@ -559,6 +559,17 @@ enum
extern char *nl_langinfo (nl_item __item) __THROW;
+#ifdef __USE_GNU
+/* This interface is for the extended locale model. See <locale.h> for
+ more information. */
+
+/* Get locale datatype definition. */
+# include <xlocale.h>
+
+/* Just like nl_langinfo but get the information from the locale object L. */
+extern char *__nl_langinfo_l (nl_item __item, __locale_t l);
+#endif
+
__END_DECLS
#endif /* langinfo.h */