summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/setegid.c2
-rw-r--r--libc/sysdeps/linux/common/waitpid.c10
2 files changed, 1 insertions, 11 deletions
diff --git a/libc/sysdeps/linux/common/setegid.c b/libc/sysdeps/linux/common/setegid.c
index 3eebf60fb..19d8e3f9c 100644
--- a/libc/sysdeps/linux/common/setegid.c
+++ b/libc/sysdeps/linux/common/setegid.c
@@ -2,5 +2,5 @@
int setegid(gid_t gid)
{
- return __setregid(-1, gid);
+ return setregid(-1, gid);
}
diff --git a/libc/sysdeps/linux/common/waitpid.c b/libc/sysdeps/linux/common/waitpid.c
deleted file mode 100644
index 0d95b4e81..000000000
--- a/libc/sysdeps/linux/common/waitpid.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <syscall.h>
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <sys/resource.h>
-
-__pid_t
-waitpid(__pid_t pid, int *wait_stat, int options)
-{
- return wait4(pid, (__WAIT_STATUS) wait_stat, options, NULL);
-}