aboutsummaryrefslogtreecommitdiff
path: root/include/printf.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-04-04 15:18:13 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-04-04 15:18:13 +0200
commit985fc132f23dbb83de76c5af9e783ef1b5900148 (patch)
treef41ba85592ceae633f11c973f81971da23653f15 /include/printf.h
parent5cd7af016d8587ff53b20ba259746f97edbddbf7 (diff)
downloadglibc-985fc132f23dbb83de76c5af9e783ef1b5900148.tar
glibc-985fc132f23dbb83de76c5af9e783ef1b5900148.tar.gz
glibc-985fc132f23dbb83de76c5af9e783ef1b5900148.tar.bz2
glibc-985fc132f23dbb83de76c5af9e783ef1b5900148.zip
strfmon_l: Use specified locale for number formatting [BZ #19633]
Diffstat (limited to 'include/printf.h')
-rw-r--r--include/printf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/printf.h b/include/printf.h
index c0bd2d2d65..b12b5dc971 100644
--- a/include/printf.h
+++ b/include/printf.h
@@ -1,6 +1,7 @@
#ifndef _PRINTF_H
#include <stdio-common/printf.h>
+#include <xlocale.h>
/* Now define the internal interfaces. */
extern int __printf_fphex (FILE *, const struct printf_info *,
@@ -8,5 +9,8 @@ extern int __printf_fphex (FILE *, const struct printf_info *,
extern int __printf_fp (FILE *, const struct printf_info *,
const void *const *);
libc_hidden_proto (__printf_fp)
+extern int __printf_fp_l (FILE *, locale_t, const struct printf_info *,
+ const void *const *);
+libc_hidden_proto (__printf_fp_l)
#endif