From 94e6ba153b80a91e97386594729cd36eab69f507 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 20 Aug 2017 06:30:29 -0700 Subject: Move ____longjmp_chk prototype to include/setjmp.h Move ____longjmp_chk prototype to include/setjmp.h and add attribute_hidden. * debug/longjmp_chk.c (____longjmp_chk): Moved to ... * include/setjmp.h (____longjmp_chk): Here. Add attribute_hidden. --- debug/longjmp_chk.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'debug') diff --git a/debug/longjmp_chk.c b/debug/longjmp_chk.c index 1a927f5ac1..1cea6c05ef 100644 --- a/debug/longjmp_chk.c +++ b/debug/longjmp_chk.c @@ -17,10 +17,6 @@ #include -// XXX Should move to include/setjmp.h -extern void ____longjmp_chk (__jmp_buf __env, int __val) - __attribute__ ((__noreturn__)); - #define __longjmp ____longjmp_chk #define __libc_siglongjmp __longjmp_chk -- cgit v1.2.3