aboutsummaryrefslogtreecommitdiff
path: root/setjmp/tst-setjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'setjmp/tst-setjmp.c')
-rw-r--r--setjmp/tst-setjmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/setjmp/tst-setjmp.c b/setjmp/tst-setjmp.c
index e83e896..b377393 100644
--- a/setjmp/tst-setjmp.c
+++ b/setjmp/tst-setjmp.c
@@ -22,7 +22,7 @@
static jmp_buf env;
static int last_value = -1, lose = 0;
-static void
+static __attribute__ ((__noreturn__)) void
jump (int val)
{
longjmp (env, val);