projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
some feature test fixes for unistd.h
[musl]
/
src
/
internal
/
syscall.c
diff --git
a/src/internal/syscall.c
b/src/internal/syscall.c
index
4f159e0
..
e69de29
100644
(file)
--- 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;
-}