From df80b74f4b2d282ae9b07e951a798936bb706a48 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 29 Jan 2007 03:06:31 +0000 Subject: mark some funcs as noreturn --- test/setjmp/jmpbug.c | 1 + test/setjmp/sigjmpbug.c | 1 + test/setjmp/tst-setjmp.c | 1 + 3 files changed, 3 insertions(+) (limited to 'test/setjmp') diff --git a/test/setjmp/jmpbug.c b/test/setjmp/jmpbug.c index 4337e527a..da087a724 100644 --- a/test/setjmp/jmpbug.c +++ b/test/setjmp/jmpbug.c @@ -7,6 +7,7 @@ int ret; int verbose; +__attribute__ ((__noreturn__)) static void sub5 (jmp_buf buf) { diff --git a/test/setjmp/sigjmpbug.c b/test/setjmp/sigjmpbug.c index 8c3be1cee..5b1718185 100644 --- a/test/setjmp/sigjmpbug.c +++ b/test/setjmp/sigjmpbug.c @@ -7,6 +7,7 @@ int ret; int verbose; +__attribute__ ((__noreturn__)) static void sub5 (jmp_buf buf) { diff --git a/test/setjmp/tst-setjmp.c b/test/setjmp/tst-setjmp.c index 35d9638ad..f0feb99a8 100644 --- a/test/setjmp/tst-setjmp.c +++ b/test/setjmp/tst-setjmp.c @@ -23,6 +23,7 @@ static jmp_buf env; static int last_value = -1, lose = 0; +__attribute__ ((__noreturn__)) static void jump (int val) { -- cgit v1.2.3