summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/internal/sh/__shcall.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/internal/sh/__shcall.c')
-rw-r--r--libc-top-half/musl/src/internal/sh/__shcall.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/internal/sh/__shcall.c b/libc-top-half/musl/src/internal/sh/__shcall.c
new file mode 100644
index 0000000..4e073e8
--- /dev/null
+++ b/libc-top-half/musl/src/internal/sh/__shcall.c
@@ -0,0 +1,6 @@
+#include <features.h>
+
+hidden int __shcall(void *arg, int (*func)(void *))
+{
+ return func(arg);
+}