From 0dd1ccafa75e63f7688e6d55a0158d39ae3aa060 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 12 Mar 2011 22:01:27 +0100 Subject: libc-internal.h: use a consistent prototype for __stack_chk_fail Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- include/libc-internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/libc-internal.h') 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__ */ -- cgit v1.2.3