From 0939653b7c5bdfe029bfc32bee74d027b9318978 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 18 Sep 2016 16:45:42 -0400 Subject: nt32: fix bits/stat.h, match nt64 and libpsxscl. --- arch/nt32/bits/stat.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'arch') diff --git a/arch/nt32/bits/stat.h b/arch/nt32/bits/stat.h index bb9314a..081237c 100644 --- a/arch/nt32/bits/stat.h +++ b/arch/nt32/bits/stat.h @@ -1,22 +1,22 @@ /* copied from kernel definition, but with padding replaced * by the corresponding correctly-sized userspace types. */ -struct stat -{ +struct stat { dev_t st_dev; - int __st_dev_padding; - long __st_ino_truncated; - mode_t st_mode; + ino_t st_ino; nlink_t st_nlink; + + mode_t st_mode; uid_t st_uid; gid_t st_gid; + unsigned int __pad0; dev_t st_rdev; - int __st_rdev_padding; off_t st_size; blksize_t st_blksize; blkcnt_t st_blocks; + struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; - ino_t st_ino; + long __unused[3]; }; -- cgit v1.2.3