diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-01-22 03:50:08 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-22 03:50:08 +0000 |
commit | 007907a93c4d26b579da25c81b43d74115a29016 (patch) | |
tree | 43769636859704924de9b5ebfc7d73c95eb8d529 /src/internal | |
parent | 230bfe1a7d46c85601e5e67497cc607e15d08990 (diff) | |
download | musl-007907a93c4d26b579da25c81b43d74115a29016.tar.gz musl-007907a93c4d26b579da25c81b43d74115a29016.tar.bz2 musl-007907a93c4d26b579da25c81b43d74115a29016.tar.xz musl-007907a93c4d26b579da25c81b43d74115a29016.zip |
move sh port's __shcall internal function from arch/sh/src to src tree
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/sh/__shcall.c | 5 |
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); +} |