summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-08-17 17:19:09 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-08-17 17:19:09 +0000
commitdd458fcabd000a41fdcf52351c8c7cabd79522c9 (patch)
treef96b4587aa77cb43e079c2e89e6486b1dd96656c /include/asm-mips64
parentad266fdc94f1e673d5369e0bdef4b4acae682afb (diff)
Adapt to struct stat changes from test6-pre2. Once more glibc 2.2
users will enjoy the priviledge of a full recompile ...
Diffstat (limited to 'include/asm-mips64')
-rw-r--r--include/asm-mips64/stat.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/include/asm-mips64/stat.h b/include/asm-mips64/stat.h
index 8162a39f6..dd4a28021 100644
--- a/include/asm-mips64/stat.h
+++ b/include/asm-mips64/stat.h
@@ -55,26 +55,36 @@ struct stat32 {
struct stat {
dev_t st_dev;
unsigned int st_pad0[3]; /* Reserved for st_dev expansion */
- ino_t st_ino;
+
+ unsigned long st_ino;
+
mode_t st_mode;
nlink_t st_nlink;
+
uid_t st_uid;
gid_t st_gid;
+
dev_t st_rdev;
- unsigned int st_pad1[2]; /* Reserved for st_rdev expansion */
+ unsigned int st_pad1[3]; /* Reserved for st_rdev expansion */
+
off_t st_size;
+
/*
* Actually this should be timestruc_t st_atime, st_mtime and st_ctime
* but we don't have it under Linux.
*/
time_t st_atime;
unsigned int reserved0; /* Reserved for st_atime expansion */
+
time_t st_mtime;
- unsigned int reserved1; /* Reserved for st_atime expansion */
+ unsigned int reserved1; /* Reserved for st_mtime expansion */
+
time_t st_ctime;
- unsigned int reserved2; /* Reserved for st_atime expansion */
+ unsigned int reserved2; /* Reserved for st_ctime expansion */
+
unsigned int st_blksize;
unsigned int st_pad2;
+
unsigned long st_blocks;
};