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/setresuid.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/setresuid.c')
-rw-r--r-- | libc/sysdeps/linux/common/setresuid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/setresuid.c b/libc/sysdeps/linux/common/setresuid.c index 764b90523..c1e395a40 100644 --- a/libc/sysdeps/linux/common/setresuid.c +++ b/libc/sysdeps/linux/common/setresuid.c @@ -15,7 +15,7 @@ # undef __NR_setresuid # define __NR_setresuid __NR_setresuid32 -libc_hidden_proto(setresuid) +/* libc_hidden_proto(setresuid) */ _syscall3(int, setresuid, uid_t, ruid, uid_t, euid, uid_t, suid) libc_hidden_def(setresuid) @@ -23,9 +23,9 @@ libc_hidden_def(setresuid) # define __NR___syscall_setresuid __NR_setresuid static __inline__ _syscall3(int, __syscall_setresuid, - __kernel_uid_t, rgid, __kernel_uid_t, egid, __kernel_uid_t, sgid); + __kernel_uid_t, rgid, __kernel_uid_t, egid, __kernel_uid_t, sgid) -libc_hidden_proto(setresuid) +/* libc_hidden_proto(setresuid) */ int setresuid(uid_t ruid, uid_t euid, uid_t suid) { if (((ruid + 1) > (uid_t) ((__kernel_uid_t) - 1U)) |