浏览代码

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