mirror of https://gitee.com/openkylin/linux.git
powerpc: get rid of nlink_t uses, switch to explicitly-sized type
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
dcc62b6b38
commit
e57f93cc53
|
@ -30,11 +30,11 @@ struct stat {
|
|||
unsigned long st_dev;
|
||||
ino_t st_ino;
|
||||
#ifdef __powerpc64__
|
||||
nlink_t st_nlink;
|
||||
unsigned short st_nlink;
|
||||
mode_t st_mode;
|
||||
#else
|
||||
mode_t st_mode;
|
||||
nlink_t st_nlink;
|
||||
unsigned short st_nlink;
|
||||
#endif
|
||||
uid_t st_uid;
|
||||
gid_t st_gid;
|
||||
|
|
Loading…
Reference in New Issue