提交 7acbbdfd 编写于 作者: R Rich Felker

make type of st_dev explicitly dev_t in x86_64 stat.h

otherwise it's unclear that it's correct. aside from that, it makes
for a gratuitous difference between the x86_64 header and the upcoming
x32 header.
上级 513136ef
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* by the corresponding correctly-sized userspace types. */ * by the corresponding correctly-sized userspace types. */
struct stat { struct stat {
unsigned long st_dev; dev_t st_dev;
ino_t st_ino; ino_t st_ino;
nlink_t st_nlink; nlink_t st_nlink;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册