move sh port's __shcall internal function from arch/sh/src to src tree
authorRich Felker <dalias@aerifal.cx>
Fri, 22 Jan 2016 03:50:08 +0000 (03:50 +0000)
committerRich Felker <dalias@aerifal.cx>
Fri, 22 Jan 2016 03:50:08 +0000 (03:50 +0000)
arch/sh/src/__shcall.c [deleted file]
src/internal/sh/__shcall.c [new file with mode: 0644]

diff --git a/arch/sh/src/__shcall.c b/arch/sh/src/__shcall.c
deleted file mode 100644 (file)
index dfe80a7..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-__attribute__((__visibility__("hidden")))
-int __shcall(void *arg, int (*func)(void *))
-{
-       return func(arg);
-}
diff --git a/src/internal/sh/__shcall.c b/src/internal/sh/__shcall.c
new file mode 100644 (file)
index 0000000..dfe80a7
--- /dev/null
@@ -0,0 +1,5 @@
+__attribute__((__visibility__("hidden")))
+int __shcall(void *arg, int (*func)(void *))
+{
+       return func(arg);
+}