projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix broken fallocate syscall in posix_fallocate
[musl]
/
include
/
sys
/
syscall.h
diff --git
a/include/sys/syscall.h
b/include/sys/syscall.h
index
c86135a
..
154e5ab
100644
(file)
--- a/
include/sys/syscall.h
+++ b/
include/sys/syscall.h
@@
-4,7
+4,11
@@
extern "C" {
#endif
extern "C" {
#endif
-long __syscall_ret(long);
+#if __STDC_VERSION__ >= 199901L || defined(__cplusplus)
+#define __inline inline
+#endif
+
+long __syscall_ret(unsigned long);
long __syscall(long, ...);
long syscall(long, ...);
long __syscall(long, ...);
long syscall(long, ...);