summaryrefslogtreecommitdiff
path: root/include/libc-internal.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-12 22:01:27 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:22 +0200
commit0dd1ccafa75e63f7688e6d55a0158d39ae3aa060 (patch)
treeafc84a2e34d9ca5962f3bb0dcbb91b6a5adc9141 /include/libc-internal.h
parentdb19d8d0a9b2ad0cd805944042137de166c4c94d (diff)
libc-internal.h: use a consistent prototype for __stack_chk_fail
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/libc-internal.h')
-rw-r--r--include/libc-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 9fb1ea2a3..dfd1dfc55 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -70,6 +70,10 @@ extern void __chk_fail(void) attribute_noreturn;
libc_hidden_proto(__chk_fail)
# endif
+# ifdef __UCLIBC_HAS_SSP__
+extern void __stack_chk_fail(void) attribute_noreturn __cold;
+# endif
+
# endif /* IS_IN_libc */
#endif /* __ASSEMBLER__ */