1 /* Prototypes for compatibility double == long double entry points.
2 Copyright (C) 2006 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4 Contributed by Jakub Jelinek <jakub@cygnus.com>, 2006.
6 The GNU C Library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
11 The GNU C Library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with the GNU C Library; if not, write to the Free
18 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21 #ifndef __NLDBL_COMPAT_H
22 #define __NLDBL_COMPAT_H 1
24 /* Avoid long double prototypes. */
25 #define __NO_LONG_DOUBLE_MATH 1
33 #include <sys/syslog.h>
35 #define NLDBL_DECL(name) \
36 extern __typeof (#name) __nldbl_##name attribute_hidden
38 NLDBL_DECL (_IO_vfscanf
);
40 NLDBL_DECL (vfwscanf
);
41 NLDBL_DECL (obstack_vprintf
) __THROW
;
42 NLDBL_DECL (vasprintf
) __THROW
;
44 NLDBL_DECL (vdprintf
);
46 NLDBL_DECL (vfprintf
);
47 NLDBL_DECL (vfwprintf
);
48 NLDBL_DECL (vsnprintf
) __THROW
;
49 NLDBL_DECL (vsprintf
) __THROW
;
50 NLDBL_DECL (vsscanf
) __THROW
;
51 NLDBL_DECL (vswprintf
) __THROW
;
52 NLDBL_DECL (vswscanf
) __THROW
;
53 NLDBL_DECL (__asprintf
);
54 NLDBL_DECL (asprintf
);
55 NLDBL_DECL (__printf_fp
);
56 NLDBL_DECL (printf_size
) __THROW
;
62 extern int __nldbl___vfprintf_chk (FILE *__restrict
, int,
63 const char *__restrict
, _G_va_list
)
65 extern int __nldbl___vfwprintf_chk (FILE *__restrict
, int,
66 const wchar_t *__restrict
, __gnuc_va_list
)
68 extern int __nldbl___vsprintf_chk (char *__restrict
, int, size_t,
69 const char *__restrict
, _G_va_list
) __THROW
71 extern int __nldbl___vsnprintf_chk (char *__restrict
, size_t, int, size_t,
72 const char *__restrict
, _G_va_list
)
73 __THROW attribute_hidden
;
74 extern int __nldbl___vswprintf_chk (wchar_t *__restrict
, size_t, int, size_t,
75 const wchar_t *__restrict
, __gnuc_va_list
)
76 __THROW attribute_hidden
;
77 extern void __nldbl___vsyslog_chk (int, int, const char *, va_list)
79 extern ssize_t
__nldbl___vstrfmon (char *, size_t, const char *, va_list)
80 __THROW attribute_hidden
;
81 extern ssize_t
__nldbl___vstrfmon_l (char *, size_t, __locale_t
,
82 const char *, va_list)
83 __THROW attribute_hidden
;
86 #endif /* __NLDBL_COMPAT_H */