diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2009-01-02 21:47:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-02 21:47:34 -0500 |
commit | 085219f79cad89291699bd2bfb21c9fdabafe65f (patch) | |
tree | 1b4ef26119ece652d2b65ddfc7952b1c194a6462 /arch | |
parent | 104e28059d771274b545b4772a27c5c8f9af2767 (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')
-rw-r--r-- | arch/sparc/include/asm/stat_32.h | 20 |
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 643d572d02cc..45b3ee4472e1 100644 --- a/arch/sparc/include/asm/stat_32.h +++ b/arch/sparc/include/asm/stat_32.h | |||
@@ -5,21 +5,21 @@ | |||
5 | 5 | ||
6 | struct stat { | 6 | struct stat { |
7 | unsigned short st_dev; | 7 | unsigned short st_dev; |
8 | unsigned long st_ino; | 8 | ino_t st_ino; |
9 | unsigned short st_mode; | 9 | mode_t st_mode; |
10 | short st_nlink; | 10 | short st_nlink; |
11 | unsigned short st_uid; | 11 | uid_t st_uid; |
12 | unsigned short st_gid; | 12 | gid_t st_gid; |
13 | unsigned short st_rdev; | 13 | unsigned short st_rdev; |
14 | long st_size; | 14 | off_t st_size; |
15 | long st_atime; | 15 | time_t st_atime; |
16 | unsigned long st_atime_nsec; | 16 | unsigned long st_atime_nsec; |
17 | long st_mtime; | 17 | time_t st_mtime; |
18 | unsigned long st_mtime_nsec; | 18 | unsigned long st_mtime_nsec; |
19 | long st_ctime; | 19 | time_t st_ctime; |
20 | unsigned long st_ctime_nsec; | 20 | unsigned long st_ctime_nsec; |
21 | long st_blksize; | 21 | off_t st_blksize; |
22 | long st_blocks; | 22 | off_t st_blocks; |
23 | unsigned long __unused4[2]; | 23 | unsigned long __unused4[2]; |
24 | }; | 24 | }; |
25 | 25 | ||