From: Rich Felker Date: Fri, 22 Jan 2016 03:50:08 +0000 (+0000) Subject: move sh port's __shcall internal function from arch/sh/src to src tree X-Git-Tag: v1.1.13~74 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=007907a93c4d26b579da25c81b43d74115a29016;p=oweals%2Fmusl.git move sh port's __shcall internal function from arch/sh/src to src tree --- diff --git a/arch/sh/src/__shcall.c b/arch/sh/src/__shcall.c deleted file mode 100644 index dfe80a7f..00000000 --- a/arch/sh/src/__shcall.c +++ /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 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); +}