summary refs log tree commit diff
path: root/benchtests/bench-strcpy_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchtests/bench-strcpy_chk.c')
-rw-r--r--benchtests/bench-strcpy_chk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/benchtests/bench-strcpy_chk.c b/benchtests/bench-strcpy_chk.c
index ded6747702..e987546301 100644
--- a/benchtests/bench-strcpy_chk.c
+++ b/benchtests/bench-strcpy_chk.c
@@ -53,8 +53,7 @@ simple_strcpy_chk (char *dst, const char *src, size_t len)
 #include <setjmp.h>
 #include <signal.h>
 
-static int test_main (void);
-#include "../test-skeleton.c"
+#include <support/support.h>
 
 volatile int chk_fail_ok;
 jmp_buf chk_fail_buf;
@@ -241,3 +240,5 @@ test_main (void)
 
   return 0;
 }
+
+#include <support/test-driver.c>