]> git.ipfire.org Git - thirdparty/glibc.git/blob - include/printf.h
test-container: Fix "unused code" warnings on HURD
[thirdparty/glibc.git] / include / printf.h
1 #ifndef _PRINTF_H
2
3 /* Workaround PR90731 with GCC 9 when using ldbl redirects in C++. */
4 #include <bits/floatn.h>
5 #if defined __cplusplus && __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
6 # if __GNUC_PREREQ (9, 0) && !__GNUC_PREREQ (9, 3)
7 # pragma GCC system_header
8 # endif
9 #endif
10
11 #include <stdio-common/printf.h>
12
13 # ifndef _ISOMAC
14
15 #include <bits/types/locale_t.h>
16
17 /* Now define the internal interfaces. */
18 extern int __printf_fphex (FILE *, const struct printf_info *,
19 const void *const *) attribute_hidden;
20 extern int __printf_fp (FILE *, const struct printf_info *,
21 const void *const *);
22 libc_hidden_proto (__printf_fp)
23 extern int __printf_fp_l (FILE *, locale_t, const struct printf_info *,
24 const void *const *);
25 libc_hidden_proto (__printf_fp_l)
26
27 extern unsigned int __guess_grouping (unsigned int intdig_max,
28 const char *grouping)
29 attribute_hidden;
30
31 # endif /* !_ISOMAC */
32 #endif