summaryrefslogtreecommitdiff
path: root/test/setjmp
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-29 03:06:31 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-29 03:06:31 +0000
commitdf80b74f4b2d282ae9b07e951a798936bb706a48 (patch)
treed71b0b77860dfaa4412f3c0f55d73f17cf95574b /test/setjmp
parent92a56f367e6635bebf4e519a49943c15d2981d85 (diff)
mark some funcs as noreturn
Diffstat (limited to 'test/setjmp')
-rw-r--r--test/setjmp/jmpbug.c1
-rw-r--r--test/setjmp/sigjmpbug.c1
-rw-r--r--test/setjmp/tst-setjmp.c1
3 files changed, 3 insertions, 0 deletions
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)
{