summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/common/ulimit.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/common/ulimit.c b/libc/sysdeps/linux/common/ulimit.c
index 74b453375..8be4a37aa 100644
--- a/libc/sysdeps/linux/common/ulimit.c
+++ b/libc/sysdeps/linux/common/ulimit.c
@@ -7,13 +7,6 @@
#include <sys/syscall.h>
-#ifdef __NR_ulimit
-
-extern long int ulimit(int cmd, long arg);
-_syscall2(long, ulimit, int, cmd, long, arg)
-
-#else
-
#include <stdarg.h>
#include <unistd.h>
#include <ulimit.h>
@@ -53,4 +46,3 @@ long int ulimit(int cmd, ...)
va_end (va);
return result;
}
-#endif