projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move time64 ioctl numbers to generic bits/ioctl.h
[musl]
/
src
/
env
/
__stack_chk_fail.c
diff --git
a/src/env/__stack_chk_fail.c
b/src/env/__stack_chk_fail.c
index
47784c6
..
e32596d
100644
(file)
--- a/
src/env/__stack_chk_fail.c
+++ b/
src/env/__stack_chk_fail.c
@@
-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);