summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-02-19 00:51:31 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-02-19 00:51:31 +0000
commit44ef37c1b445e864068cdcd885ab3d7b17079ad3 (patch)
tree6643849d5c98303ffa5f4cb4cee82469e6c7d257
parent24ef4779eb47f23b8d4f4e678d677bd45a91373f (diff)
parent6b5559315d959347fcc01781669f771746cbb2ee (diff)
downloadbionic-44ef37c1b445e864068cdcd885ab3d7b17079ad3.zip
bionic-44ef37c1b445e864068cdcd885ab3d7b17079ad3.tar.gz
bionic-44ef37c1b445e864068cdcd885ab3d7b17079ad3.tar.bz2
Merge "Use uid_t and gid_t for st_uid and st_gid in struct stat."
-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; \