klibc-bot for maximilian attems
2012-Jun-29 06:48 UTC
[klibc] [klibc:master] inlcude: [mips*/klibc/archstat.h] get rid of nlink_t
Commit-ID: f24132edfa296478afd40263e493fd2e095f70d2 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=f24132edfa296478afd40263e493fd2e095f70d2 Author: maximilian attems <max at stro.at> AuthorDate: Fri, 29 Jun 2012 08:39:03 +0200 Committer: maximilian attems <max at stro.at> CommitDate: Fri, 29 Jun 2012 08:39:03 +0200 [klibc] inlcude: [mips*/klibc/archstat.h] get rid of nlink_t _u32 in all cases, mirrors dcc62b6b38334075271eaffb1dc42cd47ceb5692 in linux. Signed-off-by: maximilian attems <max at stro.at> --- usr/include/arch/mips/klibc/archstat.h | 4 +++- usr/include/arch/mips64/klibc/archstat.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/usr/include/arch/mips/klibc/archstat.h b/usr/include/arch/mips/klibc/archstat.h index c1d60d9..b06686f 100644 --- a/usr/include/arch/mips/klibc/archstat.h +++ b/usr/include/arch/mips/klibc/archstat.h @@ -1,6 +1,8 @@ #ifndef _KLIBC_ARCHSTAT_H #define _KLIBC_ARCHSTAT_H +#include <sys/types.h> + #define _STATBUF_ST_NSEC /* @@ -17,7 +19,7 @@ struct stat { unsigned long long st_ino; mode_t st_mode; - nlink_t st_nlink; + __u32 st_nlink; uid_t st_uid; gid_t st_gid; diff --git a/usr/include/arch/mips64/klibc/archstat.h b/usr/include/arch/mips64/klibc/archstat.h index 577f9ad..2dbb907 100644 --- a/usr/include/arch/mips64/klibc/archstat.h +++ b/usr/include/arch/mips64/klibc/archstat.h @@ -1,6 +1,8 @@ #ifndef _KLIBC_ARCHSTAT_H #define _KLIBC_ARCHSTAT_H +#include <sys/types.h> + #define _STATBUF_ST_NSEC struct stat { @@ -10,7 +12,7 @@ struct stat { unsigned long st_ino; mode_t st_mode; - nlink_t st_nlink; + __u32 st_nlink; uid_t st_uid; gid_t st_gid;