move time64 ioctl numbers to generic bits/ioctl.h
[musl] / src / env / __stack_chk_fail.c
index 47784c6..e32596d 100644 (file)
@@ -17,12 +17,6 @@ void __stack_chk_fail(void)
        a_crash();
 }
 
-#ifdef SHARED
+hidden void __stack_chk_fail_local(void);
 
-__attribute__((__visibility__("hidden")))
-void __stack_chk_fail_local(void)
-{
-       a_crash();
-}
-
-#endif
+weak_alias(__stack_chk_fail, __stack_chk_fail_local);