aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-20 06:30:29 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-08-20 06:30:46 -0700
commit94e6ba153b80a91e97386594729cd36eab69f507 (patch)
tree65eff034c0f6b1e109827654312d633eae2df6de /include
parent7550717ed747c90afe49fcd590c4acc3ccade56a (diff)
downloadglibc-94e6ba153b80a91e97386594729cd36eab69f507.tar
glibc-94e6ba153b80a91e97386594729cd36eab69f507.tar.gz
glibc-94e6ba153b80a91e97386594729cd36eab69f507.tar.bz2
glibc-94e6ba153b80a91e97386594729cd36eab69f507.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/setjmp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/setjmp.h b/include/setjmp.h
index 90f46976e3..e45328b18a 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -8,6 +8,9 @@
extern void __longjmp (__jmp_buf __env, int __val)
__attribute__ ((__noreturn__)) attribute_hidden;
+extern void ____longjmp_chk (__jmp_buf __env, int __val)
+ __attribute__ ((__noreturn__)) attribute_hidden;
+
/* Internal function to possibly save the current mask of blocked signals
in ENV, and always set the flag saying whether or not it was saved.
This is used by the machine-dependent definition of `__sigsetjmp'.