about summary refs log tree commit diff
path: root/time/tst-strptime3.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tst-strptime3.c')
-rw-r--r--time/tst-strptime3.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/time/tst-strptime3.c b/time/tst-strptime3.c
index 9a8c6485e7..75b57c1928 100644
--- a/time/tst-strptime3.c
+++ b/time/tst-strptime3.c
@@ -4,8 +4,8 @@
 #include <time.h>
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
   struct tm tm;
@@ -53,3 +53,6 @@ main (void)
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"