about summary refs log tree commit diff
path: root/time/tst-strptime2.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tst-strptime2.c')
-rw-r--r--time/tst-strptime2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/time/tst-strptime2.c b/time/tst-strptime2.c
index 73552bb8f8..bcd6cc8be9 100644
--- a/time/tst-strptime2.c
+++ b/time/tst-strptime2.c
@@ -26,8 +26,8 @@ static const struct
 #define ntests (sizeof (tests) / sizeof (tests[0]))
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
 
@@ -57,3 +57,6 @@ main (void)
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"