From 6b5559315d959347fcc01781669f771746cbb2ee Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 18 Feb 2014 16:43:31 -0800 Subject: [PATCH] Use uid_t and gid_t for st_uid and st_gid in struct stat. Change-Id: Ide62dc714d76d881e3aa79e7a59ee6533a23dd00 --- libc/include/sys/stat.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libc/include/sys/stat.h b/libc/include/sys/stat.h index 10bd01f4b..e62e76d55 100644 --- a/libc/include/sys/stat.h +++ b/libc/include/sys/stat.h @@ -43,8 +43,8 @@ __BEGIN_DECLS unsigned long st_ino; \ unsigned int st_mode; \ unsigned int st_nlink; \ - unsigned int st_uid; \ - unsigned int st_gid; \ + uid_t st_uid; \ + gid_t st_gid; \ unsigned long st_rdev; \ unsigned long __pad1; \ long st_size; \ @@ -67,8 +67,8 @@ __BEGIN_DECLS unsigned long long st_ino; \ unsigned int st_mode; \ unsigned int st_nlink; \ - unsigned int st_uid; \ - unsigned int st_gid; \ + uid_t st_uid; \ + gid_t st_gid; \ unsigned int st_rdev; \ unsigned int __pad1[3]; \ long long st_size; \ @@ -88,8 +88,8 @@ __BEGIN_DECLS unsigned long st_ino; \ unsigned long st_nlink; \ unsigned int st_mode; \ - unsigned int st_uid; \ - unsigned int st_gid; \ + uid_t st_uid; \ + gid_t st_gid; \ unsigned int __pad0; \ unsigned long st_rdev; \ long st_size; \ @@ -110,8 +110,8 @@ __BEGIN_DECLS unsigned long __st_ino; \ unsigned int st_mode; \ unsigned int st_nlink; \ - unsigned long st_uid; \ - unsigned long st_gid; \ + uid_t st_uid; \ + gid_t st_gid; \ unsigned long long st_rdev; \ unsigned char __pad3[4]; \ long long st_size; \