]> git.ipfire.org Git - thirdparty/glibc.git/blame - misc/qefgcvt.c
Remove "Contributed by" lines
[thirdparty/glibc.git] / misc / qefgcvt.c
CommitLineData
19361cb7 1/* Compatibility functions for floating point formatting, long double version.
2b778ceb 2 Copyright (C) 1996-2021 Free Software Foundation, Inc.
19361cb7 3 This file is part of the GNU C Library.
2064087b 4
19361cb7 5 The GNU C Library is free software; you can redistribute it and/or
41bdb6e2
AJ
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
2064087b 9
19361cb7
UD
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
41bdb6e2 13 Lesser General Public License for more details.
2064087b 14
41bdb6e2 15 You should have received a copy of the GNU Lesser General Public
59ba27a6 16 License along with the GNU C Library; if not, see
5a82c748 17 <https://www.gnu.org/licenses/>. */
2064087b 18
dce42534
GG
19#define ECVT qecvt
20#define FCVT qfcvt
21#define GCVT qgcvt
22#define __ECVT __qecvt
23#define __FCVT __qfcvt
24#define __GCVT __qgcvt
25#define __ECVT_R __qecvt_r
26#define __FCVT_R __qfcvt_r
e18a3057
GG
27#include <efgcvt-ldbl-macros.h>
28#include <efgcvt-template.c>
b113c12c 29
e18a3057 30#if LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)
dce42534
GG
31# define cvt_symbol(local, symbol) \
32 versioned_symbol (libc, local, symbol, GLIBC_2_4)
b113c12c 33#else
dce42534
GG
34# define cvt_symbol(local, symbol) \
35 strong_alias (local, symbol)
b113c12c 36#endif
dce42534
GG
37cvt_symbol (__qfcvt, qfcvt);
38cvt_symbol (__qecvt, qecvt);
39cvt_symbol (__qgcvt, qgcvt);