summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-01-22 03:50:08 +0000
committerRich Felker <dalias@aerifal.cx>2016-01-22 03:50:08 +0000
commit007907a93c4d26b579da25c81b43d74115a29016 (patch)
tree43769636859704924de9b5ebfc7d73c95eb8d529 /src
parent230bfe1a7d46c85601e5e67497cc607e15d08990 (diff)
downloadmusl-007907a93c4d26b579da25c81b43d74115a29016.tar.gz
move sh port's __shcall internal function from arch/sh/src to src tree
Diffstat (limited to 'src')
-rw-r--r--src/internal/sh/__shcall.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/sh/__shcall.c b/src/internal/sh/__shcall.c
new file mode 100644
index 00000000..dfe80a7f
--- /dev/null
+++ b/src/internal/sh/__shcall.c
@@ -0,0 +1,5 @@
+__attribute__((__visibility__("hidden")))
+int __shcall(void *arg, int (*func)(void *))
+{
+ return func(arg);
+}