summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/longjmp.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:04:19 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:04:19 +0000
commit05e75260d6952308d7c865ff67c0e3678b7ba935 (patch)
treeac1a5d0ab7904783917b52ffa5489e8367743ff7 /libc/sysdeps/linux/common/longjmp.c
parent2fec342738cefe71910e8e8ab8636accfc5867bc (diff)
Get rid of missing prototype warnings
Diffstat (limited to 'libc/sysdeps/linux/common/longjmp.c')
-rw-r--r--libc/sysdeps/linux/common/longjmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/longjmp.c b/libc/sysdeps/linux/common/longjmp.c
index c3ed98a7a..a54f01f48 100644
--- a/libc/sysdeps/linux/common/longjmp.c
+++ b/libc/sysdeps/linux/common/longjmp.c
@@ -25,10 +25,11 @@ libc_hidden_proto(sigprocmask)
extern void __longjmp (__jmp_buf __env, int __val) attribute_noreturn;
libc_hidden_proto(__longjmp)
+extern __typeof(longjmp) __libc_longjmp attribute_noreturn;
/* 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 attribute_noreturn __libc_longjmp (sigjmp_buf env, int val)
+void __libc_longjmp (sigjmp_buf env, int val)
{
#if 0
/* Perform any cleanups needed by the frames being unwound. */