summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-19 00:39:02 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-19 00:39:02 -0400
commite468ed442d6ee50390d9a75dfd25f66bfb310e2e (patch)
tree9fbb808465f09f418262a1e625c6b931de7ddbf3
parentdfc81828f7ab41da08f744c44117a1bb20a05749 (diff)
downloadmusl-e468ed442d6ee50390d9a75dfd25f66bfb310e2e.tar.gz
fix inadvertent introduction of extern object stx
commit dfc81828f7ab41da08f744c44117a1bb20a05749 accidentally defined an instance of struct statx along with the struct declaration.
-rw-r--r--src/stat/fstatat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat/fstatat.c b/src/stat/fstatat.c
index 31907e98..7de75462 100644
--- a/src/stat/fstatat.c
+++ b/src/stat/fstatat.c
@@ -31,7 +31,7 @@ struct statx {
uint32_t stx_dev_major;
uint32_t stx_dev_minor;
uint64_t spare[14];
-} stx;
+};
static int fstatat_statx(int fd, const char *restrict path, struct stat *restrict st, int flag)
{