summaryrefslogtreecommitdiff
path: root/src/internal/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/syscall.c')
-rw-r--r--src/internal/syscall.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/internal/syscall.c b/src/internal/syscall.c
index 4f159e0b..e69de29b 100644
--- a/src/internal/syscall.c
+++ b/src/internal/syscall.c
@@ -1,11 +0,0 @@
-#include <errno.h>
-#include <unistd.h>
-
-long __syscall_ret(unsigned long r)
-{
- if (r >= (unsigned long)-1 - 4096) {
- errno = -(long)r;
- return -1;
- }
- return (long)r;
-}