nscd: Use time_t for return type of addgetnetgrentX
[glibc.git] / misc / qefgcvt_r.c
blobf70920ed2dfcbbf5ff5dca9b0d8c113c213527ed
1 /* Compatibility functions for floating point formatting, reentrant,
2 long double versions.
3 Copyright (C) 1996-2024 Free Software Foundation, Inc.
4 This file is part of the GNU C Library.
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, see
18 <https://www.gnu.org/licenses/>. */
20 #define ECVT_R qecvt_r
21 #define FCVT_R qfcvt_r
22 #define __ECVT_R __qecvt_r
23 #define __FCVT_R __qfcvt_r
24 #include <efgcvt-ldbl-macros.h>
25 #include <efgcvt_r-template.c>
27 #if LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)
28 # define cvt_symbol(local, symbol) \
29 libc_hidden_def (local) \
30 versioned_symbol (libc, local, symbol, GLIBC_2_4)
31 #else
32 # define cvt_symbol(local, symbol) \
33 libc_hidden_def (local) \
34 weak_alias (local, symbol)
35 #endif
36 cvt_symbol (__qfcvt_r, qfcvt_r);
37 cvt_symbol (__qecvt_r, qecvt_r);