projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove all .size and .type directives for functions from the asm
[oweals/musl.git]
/
src
/
internal
/
syscall.c
diff --git
a/src/internal/syscall.c
b/src/internal/syscall.c
index 4f159e0b528fd05eb6cde5ae6ec688d667b20e51..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 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;
-}