summaryrefslogtreecommitdiff
path: root/lib/libc/internal/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/internal/syscall.c')
-rw-r--r--lib/libc/internal/syscall.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/libc/internal/syscall.c b/lib/libc/internal/syscall.c
deleted file mode 100644
index f7fd3c4b..00000000
--- a/lib/libc/internal/syscall.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <errno.h>
-#include <sys/cdefs.h>
-
-long __syscall_ret(long ret)
-{
- if (__predict_false(ret > -4096 && ret < 0)) {
- errno = (int)-ret;
- ret = -1;
- }
-
- return ret;
-}