mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
Fix ununsed fstatat64_time64_statx
It is only called for legacy ABIs.
This commit is contained in:
@@ -40,6 +40,11 @@ _Static_assert (sizeof (__blkcnt_t) == sizeof (__blkcnt64_t),
|
|||||||
"__blkcnt_t and __blkcnt64_t must match");
|
"__blkcnt_t and __blkcnt64_t must match");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (__WORDSIZE == 32 \
|
||||||
|
&& (!defined __SYSCALL_WORDSIZE || __SYSCALL_WORDSIZE == 32)) \
|
||||||
|
|| defined STAT_HAS_TIME32
|
||||||
|
# define FSTATAT_USE_STATX 1
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
fstatat64_time64_statx (int fd, const char *file, struct __stat64_t64 *buf,
|
fstatat64_time64_statx (int fd, const char *file, struct __stat64_t64 *buf,
|
||||||
int flag)
|
int flag)
|
||||||
@@ -73,11 +78,6 @@ fstatat64_time64_statx (int fd, const char *file, struct __stat64_t64 *buf,
|
|||||||
|
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (__WORDSIZE == 32 \
|
|
||||||
&& (!defined __SYSCALL_WORDSIZE || __SYSCALL_WORDSIZE == 32)) \
|
|
||||||
|| defined STAT_HAS_TIME32
|
|
||||||
# define FSTATAT_USE_STATX 1
|
|
||||||
#else
|
#else
|
||||||
# define FSTATAT_USE_STATX 0
|
# define FSTATAT_USE_STATX 0
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user