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