aboutsummaryrefslogtreecommitdiff
path: root/time/tst-strptime.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tst-strptime.c')
-rw-r--r--time/tst-strptime.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/time/tst-strptime.c b/time/tst-strptime.c
index 8c0a947..9a2199f 100644
--- a/time/tst-strptime.c
+++ b/time/tst-strptime.c
@@ -124,8 +124,8 @@ test_tm (void)
}
-int
-main (int argc, char *argv[])
+static int
+do_test (void)
{
struct tm tm;
size_t i;
@@ -194,3 +194,6 @@ main (int argc, char *argv[])
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"