summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-02-18 16:43:31 -0800
committerElliott Hughes <enh@google.com>2014-02-18 16:43:31 -0800
commit6b5559315d959347fcc01781669f771746cbb2ee (patch)
tree1a810ab6de06ed4a07b6df58ee967948d4b452ab
parent787c1f937a915feefb767d0c6a15ddb70e6de933 (diff)
downloadbionic-6b5559315d959347fcc01781669f771746cbb2ee.zip
bionic-6b5559315d959347fcc01781669f771746cbb2ee.tar.gz
bionic-6b5559315d959347fcc01781669f771746cbb2ee.tar.bz2
Use uid_t and gid_t for st_uid and st_gid in struct stat.
Change-Id: Ide62dc714d76d881e3aa79e7a59ee6533a23dd00
-rw-r--r--libc/include/sys/stat.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/include/sys/stat.h b/libc/include/sys/stat.h
index 10bd01f..e62e76d 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; \