summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setresgid.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
commitcb97aadebfeba7f5e8f1b85beee5ab10e88c2990 (patch)
treef5f56f2ef0f3048325419857d0b538135524ff8c /libc/sysdeps/linux/common/setresgid.c
parentb133fe1cac9f99b63ea56daf92caa1423b1289d0 (diff)
Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)
Diffstat (limited to 'libc/sysdeps/linux/common/setresgid.c')
-rw-r--r--libc/sysdeps/linux/common/setresgid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/setresgid.c b/libc/sysdeps/linux/common/setresgid.c
index 6018f1984..e99708e0d 100644
--- a/libc/sysdeps/linux/common/setresgid.c
+++ b/libc/sysdeps/linux/common/setresgid.c
@@ -15,7 +15,7 @@
# undef __NR_setresgid
# define __NR_setresgid __NR_setresgid32
-libc_hidden_proto(setresgid)
+/* libc_hidden_proto(setresgid) */
_syscall3(int, setresgid, gid_t, rgid, gid_t, egid, gid_t, sgid)
libc_hidden_def(setresgid)
@@ -25,7 +25,7 @@ libc_hidden_def(setresgid)
static __inline__ _syscall3(int, __syscall_setresgid,
__kernel_gid_t, rgid, __kernel_gid_t, egid, __kernel_gid_t, sgid)
-libc_hidden_proto(setresgid)
+/* libc_hidden_proto(setresgid) */
int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
{
if (((rgid + 1) > (gid_t) ((__kernel_gid_t) - 1U))