summaryrefslogtreecommitdiffhomepage
path: root/arch/nt32/bits
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-09-18 16:45:42 -0400
committermidipix <writeonce@midipix.org>2016-09-18 16:45:42 -0400
commit0939653b7c5bdfe029bfc32bee74d027b9318978 (patch)
treec8a002473583d03957d9ecad882b26170f054ed6 /arch/nt32/bits
parent531b80a44bcd30b3b370c1bab3fbda01e580c83f (diff)
downloadmmglue-0939653b7c5bdfe029bfc32bee74d027b9318978.tar.bz2
mmglue-0939653b7c5bdfe029bfc32bee74d027b9318978.tar.xz
nt32: fix bits/stat.h, match nt64 and libpsxscl.
Diffstat (limited to 'arch/nt32/bits')
-rw-r--r--arch/nt32/bits/stat.h14
1 files changed, 7 insertions, 7 deletions
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];
};