summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/setregid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/setregid.c')
-rw-r--r--libc/sysdeps/linux/common/setregid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/setregid.c b/libc/sysdeps/linux/common/setregid.c
index 3fe95d9d0..332599431 100644
--- a/libc/sysdeps/linux/common/setregid.c
+++ b/libc/sysdeps/linux/common/setregid.c
@@ -11,7 +11,7 @@
#include <unistd.h>
#include <bits/wordsize.h>
-libc_hidden_proto(setregid)
+/* libc_hidden_proto(setregid) */
#if (__WORDSIZE == 32 && defined(__NR_setregid32)) || __WORDSIZE == 64
# ifdef __NR_setregid32
@@ -19,13 +19,13 @@ libc_hidden_proto(setregid)
# define __NR_setregid __NR_setregid32
# endif
-_syscall2(int, setregid, gid_t, rgid, gid_t, egid);
+_syscall2(int, setregid, gid_t, rgid, gid_t, egid)
#else
# define __NR___syscall_setregid __NR_setregid
static __inline__ _syscall2(int, __syscall_setregid,
- __kernel_gid_t, rgid, __kernel_gid_t, egid);
+ __kernel_gid_t, rgid, __kernel_gid_t, egid)
int setregid(gid_t rgid, gid_t egid)
{