From 007907a93c4d26b579da25c81b43d74115a29016 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 22 Jan 2016 03:50:08 +0000 Subject: move sh port's __shcall internal function from arch/sh/src to src tree --- src/internal/sh/__shcall.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/internal/sh/__shcall.c (limited to 'src') 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); +} -- cgit v1.2.1