]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / generic / wordsize-32 / fxstat64.c
1 /* __fxstat64 () implementation.
2 Copyright (C) 2016-2018 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4 Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011.
5
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.
10
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.
15
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 <http://www.gnu.org/licenses/>. */
19
20 /* Hide the prototypes for __fxstat and _fxstat so that GCC will not
21 complain about the different function signatures if they are aliased
22 to __fxstat64. If XSTAT_IS_XSTAT64 is set to non-zero then the stat and
23 stat64 structures have an identical layout but different type names. */
24
25 #define __fxstat __fxstat_disable
26 #define _fxstat _fxstat_disable
27
28 #include <sysdeps/unix/sysv/linux/fxstat64.c>
29
30 #undef __fxstat
31 #undef _fxstat
32 #if XSTAT_IS_XSTAT64
33 weak_alias (__fxstat64, __fxstat)
34 weak_alias (__fxstat64, _fxstat)
35 hidden_ver (__fxstat64, __fxstat)
36 #endif