aboutsummaryrefslogtreecommitdiff
path: root/debug/tst-longjmp_chk3.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/tst-longjmp_chk3.c')
-rw-r--r--debug/tst-longjmp_chk3.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/debug/tst-longjmp_chk3.c b/debug/tst-longjmp_chk3.c
index f1e576a..3050806 100644
--- a/debug/tst-longjmp_chk3.c
+++ b/debug/tst-longjmp_chk3.c
@@ -20,10 +20,6 @@
#include <signal.h>
#include <string.h>
-static int do_test (void);
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
-
static char buf[SIGSTKSZ * 4];
static jmp_buf jb;
@@ -83,3 +79,5 @@ do_test (void)
puts ("longjmp returned and shouldn't");
return 1;
}
+
+#include <support/test-driver.c>