From 77937735ab0b3cc45c02cce1a4e4b57acbb344cc Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Wed, 14 Mar 2012 16:26:13 +0100 Subject: nptl: fix compiler warning due to missing prototype libpthread/nptl/sysdeps/pthread/pt-longjmp.c: In function 'longjmp': libpthread/nptl/sysdeps/pthread/pt-longjmp.c:27:3: warning: implicit declaration of function '__libc_longjmp' [-Wimplicit-function-declaration] libpthread/nptl/sysdeps/pthread/pt-longjmp.c:28:1: warning: 'noreturn' function does return [enabled by default] Signed-off-by: Carmelo Amoroso --- libpthread/nptl/sysdeps/pthread/pt-longjmp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpthread') diff --git a/libpthread/nptl/sysdeps/pthread/pt-longjmp.c b/libpthread/nptl/sysdeps/pthread/pt-longjmp.c index f161380ea..fb0628d22 100644 --- a/libpthread/nptl/sysdeps/pthread/pt-longjmp.c +++ b/libpthread/nptl/sysdeps/pthread/pt-longjmp.c @@ -21,6 +21,8 @@ #include #include "pthreadP.h" +extern __typeof(longjmp) __libc_longjmp attribute_noreturn; + void longjmp (jmp_buf env, int val) { -- cgit v1.2.3