summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setpgrp.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-29 05:47:04 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-29 05:47:04 +0000
commit87108d9ffaa3e4d4bc761453de093011e0d3398d (patch)
tree646702040ce8122cfcb857693671809ba35cacbc /libc/sysdeps/linux/common/setpgrp.c
parent4e1ec6cac528de017d8e8696e0442904847bdc54 (diff)
Fix up stat so we translate from kernel stat to libc stat. Try to fix
up a few little things with dir entry reading. busybox now compiles, and seems to basically work... :-) -Erik
Diffstat (limited to 'libc/sysdeps/linux/common/setpgrp.c')
-rw-r--r--libc/sysdeps/linux/common/setpgrp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/common/setpgrp.c b/libc/sysdeps/linux/common/setpgrp.c
index f1f27d18f..0fa8fccc3 100644
--- a/libc/sysdeps/linux/common/setpgrp.c
+++ b/libc/sysdeps/linux/common/setpgrp.c
@@ -1,11 +1,7 @@
#include <syscall.h>
#include <unistd.h>
-static inline
-_syscall2(int,setpgid,pid_t,pid,pid_t,pgid);
-
-int
-setpgrp(void)
+int setpgrp(void)
{
return setpgid(0,0);
}