summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/getgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getgroups.c')
-rw-r--r--libc/sysdeps/linux/common/getgroups.c10
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[])
{