diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2012-03-14 16:26:13 +0100 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2012-03-26 09:58:03 +0200 |
commit | 77937735ab0b3cc45c02cce1a4e4b57acbb344cc (patch) | |
tree | 8e87341907952413061c30c51a19aa74ad160266 /libpthread/nptl/sysdeps/pthread/pt-longjmp.c | |
parent | 089de40d5727a2a5478767e3b9c1a43bc46b7e46 (diff) |
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 <carmelo.amoroso@st.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/pt-longjmp.c')
-rw-r--r-- | libpthread/nptl/sysdeps/pthread/pt-longjmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <stdlib.h> #include "pthreadP.h" +extern __typeof(longjmp) __libc_longjmp attribute_noreturn; + void longjmp (jmp_buf env, int val) { |