aboutsummaryrefslogtreecommitdiff
path: root/time/tst-mktime.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tst-mktime.c')
-rw-r--r--time/tst-mktime.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/time/tst-mktime.c b/time/tst-mktime.c
index 416a856..c147360 100644
--- a/time/tst-mktime.c
+++ b/time/tst-mktime.c
@@ -3,8 +3,8 @@
#include <string.h>
#include <time.h>
-int
-main (void)
+static int
+do_test (void)
{
struct tm time_str, *tm;
time_t t;
@@ -68,3 +68,6 @@ main (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"