summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-24 19:36:42 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-24 19:36:42 +0000
commit0de41b04e121da8039ebf39429e24617808e2aea (patch)
treebcc39a78e9c3741e35bed90919780875c060be1a /libc
parent68e0dd8029fde57d45830db8c094d608cfa49519 (diff)
__longjmp/__libc_longjmp as noreturn
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/longjmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/longjmp.c b/libc/sysdeps/linux/common/longjmp.c
index f80f3d8f1..c3ed98a7a 100644
--- a/libc/sysdeps/linux/common/longjmp.c
+++ b/libc/sysdeps/linux/common/longjmp.c
@@ -22,13 +22,13 @@
libc_hidden_proto(sigprocmask)
-extern __typeof(longjmp) __longjmp;
+extern void __longjmp (__jmp_buf __env, int __val) attribute_noreturn;
libc_hidden_proto(__longjmp)
/* Set the signal mask to the one specified in ENV, and jump
to the position specified in ENV, causing the setjmp
call there to return VAL, or 1 if VAL is 0. */
-void __libc_longjmp (sigjmp_buf env, int val)
+void attribute_noreturn __libc_longjmp (sigjmp_buf env, int val)
{
#if 0
/* Perform any cleanups needed by the frames being unwound. */