fix inadvertent introduction of extern object stx
authorRich Felker <dalias@aerifal.cx>
Fri, 19 Jul 2019 04:39:02 +0000 (00:39 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 19 Jul 2019 04:39:02 +0000 (00:39 -0400)
commit dfc81828f7ab41da08f744c44117a1bb20a05749 accidentally defined
an instance of struct statx along with the struct declaration.

src/stat/fstatat.c

index 31907e989b099a1fdee23fca686bb28fb777d380..7de75462abf70cb4aa6fd7616a134f0ed750cec7 100644 (file)
@@ -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)
 {