aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-07-22 08:56:55 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-07-22 08:56:55 +0000
commitfa8cf20631cf02ae3e6b0db95a494261df1aee27 (patch)
tree9971c6951256dd0bba5ff2a7db08ed6f65ef218d /libpwdgrp
parent5658fe5f7869ce987e25dfb6554db5e062045319 (diff)
downloadbusybox-w32-fa8cf20631cf02ae3e6b0db95a494261df1aee27.tar.gz
busybox-w32-fa8cf20631cf02ae3e6b0db95a494261df1aee27.tar.bz2
busybox-w32-fa8cf20631cf02ae3e6b0db95a494261df1aee27.zip
Remove remaining libc5 support code
git-svn-id: svn://busybox.net/trunk/busybox@7090 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libpwdgrp')
-rw-r--r--libpwdgrp/setgroups.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libpwdgrp/setgroups.c b/libpwdgrp/setgroups.c
index c133849e8..449e811dc 100644
--- a/libpwdgrp/setgroups.c
+++ b/libpwdgrp/setgroups.c
@@ -30,12 +30,11 @@
30 _syscall* defined. */ 30 _syscall* defined. */
31#define __LIBRARY__ 31#define __LIBRARY__
32#include <sys/syscall.h> 32#include <sys/syscall.h>
33#if __GNU_LIBRARY__ < 5
34/* This is needed for libc5 */
35#include <asm/unistd.h>
36#endif
37#include "grp_.h" 33#include "grp_.h"
38 34
39//#define __NR_setgroups 81 35int setgroups(size_t size, const gid_t * list)
40_syscall2(int, setgroups, size_t, size, const gid_t *, list); 36{
37 return(syscall(__NR_setgroups, size, list));
38}
39
41 40