diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-27 18:21:33 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-27 18:21:33 +0000 |
commit | 28c8634afdc1fa236679b49ab0d5a019379c6db1 (patch) | |
tree | fda9d6e124a32799b07247f8d38d0cc8f963cd4e /libc/sysdeps/linux/common/getgroups.c | |
parent | eb38b2d34c32ed3089e2bf8935219a57f84ce7b3 (diff) | |
download | uClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.bz2 uClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.xz |
Synch with trunk @ 24165
Step 17: libc_hidden_proto removal (almost all).
and other minor changes (inline keyword, extra character)
Diffstat (limited to 'libc/sysdeps/linux/common/getgroups.c')
-rw-r--r-- | libc/sysdeps/linux/common/getgroups.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/common/getgroups.c b/libc/sysdeps/linux/common/getgroups.c index 7e1604294..67d2f4faa 100644 --- a/libc/sysdeps/linux/common/getgroups.c +++ b/libc/sysdeps/linux/common/getgroups.c @@ -12,24 +12,24 @@ #include <unistd.h> #include <grp.h> -libc_hidden_proto(getgroups) +/* libc_hidden_proto(getgroups) */ #if defined(__NR_getgroups32) # undef __NR_getgroups # define __NR_getgroups __NR_getgroups32 -_syscall2(int, getgroups, int, size, gid_t *, list); +_syscall2(int, getgroups, int, size, gid_t *, list) #elif __WORDSIZE == 64 -_syscall2(int, getgroups, int, size, gid_t *, list); +_syscall2(int, getgroups, int, size, gid_t *, list) #else -libc_hidden_proto(sysconf) +/* libc_hidden_proto(sysconf) */ #define MIN(a,b) (((a)<(b))?(a):(b)) #define __NR___syscall_getgroups __NR_getgroups static __inline__ _syscall2(int, __syscall_getgroups, - int, size, __kernel_gid_t *, list); + int, size, __kernel_gid_t *, list) int getgroups(int size, gid_t groups[]) { |