aboutsummaryrefslogtreecommitdiff
path: root/time/tst-mktime3.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tst-mktime3.c')
-rw-r--r--time/tst-mktime3.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/time/tst-mktime3.c b/time/tst-mktime3.c
index 60d0e0b..c738e53 100644
--- a/time/tst-mktime3.c
+++ b/time/tst-mktime3.c
@@ -17,8 +17,8 @@ struct tm expected[] =
{ .tm_sec = 5, .tm_mday = 1, .tm_year = 102, .tm_wday = 2 }
};
-int
-main (void)
+static int
+do_test (void)
{
setenv ("TZ", "UTC", 1);
int i;
@@ -48,3 +48,6 @@ main (void)
}
return 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"