]> git.ipfire.org Git - thirdparty/glibc.git/blame - misc/qefgcvt_r.c
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / misc / qefgcvt_r.c
CommitLineData
19361cb7
UD
1/* Compatibility functions for floating point formatting, reentrant,
2 long double versions.
dff8da6b 3 Copyright (C) 1996-2024 Free Software Foundation, Inc.
19361cb7 4 This file is part of the GNU C Library.
2064087b 5
19361cb7 6 The GNU C Library is free software; you can redistribute it and/or
41bdb6e2
AJ
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.
2064087b 10
19361cb7
UD
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
41bdb6e2 14 Lesser General Public License for more details.
2064087b 15
41bdb6e2 16 You should have received a copy of the GNU Lesser General Public
59ba27a6 17 License along with the GNU C Library; if not, see
5a82c748 18 <https://www.gnu.org/licenses/>. */
2064087b 19
dce42534
GG
20#define ECVT_R qecvt_r
21#define FCVT_R qfcvt_r
22#define __ECVT_R __qecvt_r
23#define __FCVT_R __qfcvt_r
e18a3057
GG
24#include <efgcvt-ldbl-macros.h>
25#include <efgcvt_r-template.c>
b113c12c 26
e18a3057 27#if LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)
dce42534 28# define cvt_symbol(local, symbol) \
e18a3057 29 libc_hidden_def (local) \
dce42534 30 versioned_symbol (libc, local, symbol, GLIBC_2_4)
b113c12c 31#else
dce42534 32# define cvt_symbol(local, symbol) \
e18a3057
GG
33 libc_hidden_def (local) \
34 weak_alias (local, symbol)
b113c12c 35#endif
dce42534
GG
36cvt_symbol (__qfcvt_r, qfcvt_r);
37cvt_symbol (__qecvt_r, qecvt_r);