diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-07-19 01:34:28 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-07-19 01:34:28 -0400 |
commit | 648c3b4e18b2ce2b6af7d44783e42ca267ea49f5 (patch) | |
tree | 1b57c9dfd2196639b331fb38c10aecf057dc733c /arch/powerpc/bits/alltypes.h.sh | |
parent | df065781ee913681ba86a636a2516cb0162cab19 (diff) | |
download | musl-648c3b4e18b2ce2b6af7d44783e42ca267ea49f5.tar.gz musl-648c3b4e18b2ce2b6af7d44783e42ca267ea49f5.tar.bz2 musl-648c3b4e18b2ce2b6af7d44783e42ca267ea49f5.tar.xz musl-648c3b4e18b2ce2b6af7d44783e42ca267ea49f5.zip |
change uid_t, gid_t, and id_t to unsigned types
this change is both to fix one of the remaining type (and thus C++
ABI) mismatches with glibc/LSB and to allow use of the full range of
uid and gid values, if so desired.
passwd/group access functions were not prepared to deal with unsigned
values, so they too have been fixed with this commit.
Diffstat (limited to 'arch/powerpc/bits/alltypes.h.sh')
-rwxr-xr-x | arch/powerpc/bits/alltypes.h.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/bits/alltypes.h.sh b/arch/powerpc/bits/alltypes.h.sh index 77d335bb..0cb90007 100755 --- a/arch/powerpc/bits/alltypes.h.sh +++ b/arch/powerpc/bits/alltypes.h.sh @@ -70,9 +70,9 @@ STRUCT timeval { time_t tv_sec; int tv_usec; }; STRUCT timespec { time_t tv_sec; long tv_nsec; }; TYPEDEF int pid_t; -TYPEDEF int id_t; -TYPEDEF int uid_t; -TYPEDEF int gid_t; +TYPEDEF unsigned id_t; +TYPEDEF unsigned uid_t; +TYPEDEF unsigned gid_t; TYPEDEF int key_t; TYPEDEF struct __pthread * pthread_t; |