summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-01-02 18:47:34 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-02 18:47:34 -0800
commit085219f79cad89291699bd2bfb21c9fdabafe65f (patch)
tree1b4ef26119ece652d2b65ddfc7952b1c194a6462 /arch/sparc
parent104e28059d771274b545b4772a27c5c8f9af2767 (diff)
sparc32: use proper types in struct stat
Like sparc64 use proper types in struct stat Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/include/asm/stat_32.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/sparc/include/asm/stat_32.h b/arch/sparc/include/asm/stat_32.h
index 643d572d02c..45b3ee4472e 100644
--- a/arch/sparc/include/asm/stat_32.h
+++ b/arch/sparc/include/asm/stat_32.h
@@ -5,21 +5,21 @@
struct stat {
unsigned short st_dev;
- unsigned long st_ino;
- unsigned short st_mode;
+ ino_t st_ino;
+ mode_t st_mode;
short st_nlink;
- unsigned short st_uid;
- unsigned short st_gid;
+ uid_t st_uid;
+ gid_t st_gid;
unsigned short st_rdev;
- long st_size;
- long st_atime;
+ off_t st_size;
+ time_t st_atime;
unsigned long st_atime_nsec;
- long st_mtime;
+ time_t st_mtime;
unsigned long st_mtime_nsec;
- long st_ctime;
+ time_t st_ctime;
unsigned long st_ctime_nsec;
- long st_blksize;
- long st_blocks;
+ off_t st_blksize;
+ off_t st_blocks;
unsigned long __unused4[2];
};