summaryrefslogtreecommitdiff
path: root/src/internal/sh/__shcall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/sh/__shcall.c')
-rw-r--r--src/internal/sh/__shcall.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/internal/sh/__shcall.c b/src/internal/sh/__shcall.c
index dfe80a7f..23655904 100644
--- a/src/internal/sh/__shcall.c
+++ b/src/internal/sh/__shcall.c
@@ -1,5 +1,6 @@
-__attribute__((__visibility__("hidden")))
-int __shcall(void *arg, int (*func)(void *))
+#include "libc.h"
+
+hidden int __shcall(void *arg, int (*func)(void *))
{
return func(arg);
}