summaryrefslogtreecommitdiff
path: root/arch/parisc/include/asm/stat.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-19 14:17:45 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-31 01:04:50 (GMT)
commit1dfb5751a4de7c6a57a5602e8e2b87267cfc8c81 (patch)
treef26790f982a6cb8bae8cc8e010ac7ec4b1f81b08 /arch/parisc/include/asm/stat.h
parente57f93cc53b772b2049222410cf6a141a724529a (diff)
downloadlinux-1dfb5751a4de7c6a57a5602e8e2b87267cfc8c81.tar.xz
parisc: get rid of nlink_t, switch to explicitly-sized type
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc/include/asm/stat.h')
-rw-r--r--arch/parisc/include/asm/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/include/asm/stat.h b/arch/parisc/include/asm/stat.h
index 9d5fbbc..d76fbda 100644
--- a/arch/parisc/include/asm/stat.h
+++ b/arch/parisc/include/asm/stat.h
@@ -7,7 +7,7 @@ struct stat {
unsigned int st_dev; /* dev_t is 32 bits on parisc */
ino_t st_ino; /* 32 bits */
mode_t st_mode; /* 16 bits */
- nlink_t st_nlink; /* 16 bits */
+ unsigned short st_nlink; /* 16 bits */
unsigned short st_reserved1; /* old st_uid */
unsigned short st_reserved2; /* old st_gid */
unsigned int st_rdev;
@@ -42,7 +42,7 @@ struct hpux_stat64 {
unsigned int st_dev; /* dev_t is 32 bits on parisc */
ino_t st_ino; /* 32 bits */
mode_t st_mode; /* 16 bits */
- nlink_t st_nlink; /* 16 bits */
+ unsigned short st_nlink; /* 16 bits */
unsigned short st_reserved1; /* old st_uid */
unsigned short st_reserved2; /* old st_gid */
unsigned int st_rdev;