about summary refs log tree commit diff
path: root/stdlib/monetary.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/monetary.h')
-rw-r--r--stdlib/monetary.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/stdlib/monetary.h b/stdlib/monetary.h
index c8f3f4dcb7..17edea57e6 100644
--- a/stdlib/monetary.h
+++ b/stdlib/monetary.h
@@ -1,5 +1,5 @@
 /* Header file for monetary value formatting functions.
-   Copyright (C) 1996 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -31,6 +31,14 @@ __BEGIN_DECLS
 extern ssize_t strfmon __P ((char *__s, size_t __maxsize,
 			     __const char *__format, ...));
 
+#ifdef __USE_GNU
+# include <xlocale.h>
+
+/* Formatting a monetary value according to the current locale.  */
+extern ssize_t __strfmon_l __P ((char *__s, size_t __maxsize, __locale_t loc,
+				 __const char *__format, ...));
+#endif
+
 __END_DECLS
 
 #endif	/* monetary.h */