From 85e5e72bc1acd9d58c11bde6e14c8270cd9f169f Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 22 Jul 2003 08:56:55 +0000 Subject: Remove remaining libc5 support code --- libpwdgrp/setgroups.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'libpwdgrp') diff --git a/libpwdgrp/setgroups.c b/libpwdgrp/setgroups.c index c133849..449e811 100644 --- a/libpwdgrp/setgroups.c +++ b/libpwdgrp/setgroups.c @@ -30,12 +30,11 @@ _syscall* defined. */ #define __LIBRARY__ #include -#if __GNU_LIBRARY__ < 5 -/* This is needed for libc5 */ -#include -#endif #include "grp_.h" -//#define __NR_setgroups 81 -_syscall2(int, setgroups, size_t, size, const gid_t *, list); +int setgroups(size_t size, const gid_t * list) +{ + return(syscall(__NR_setgroups, size, list)); +} + -- cgit v1.1