Переглянути джерело

fix inadvertent introduction of extern object stx

commit dfc81828f7ab41da08f744c44117a1bb20a05749 accidentally defined
an instance of struct statx along with the struct declaration.
Rich Felker 5 роки тому
батько
коміт
e468ed442d
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/stat/fstatat.c

+ 1 - 1
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)
 {