about summary refs log tree commit diff
path: root/time/tst-posixtz.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tst-posixtz.c')
-rw-r--r--time/tst-posixtz.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/time/tst-posixtz.c b/time/tst-posixtz.c
index 019d92ada0..c1ea267cb4 100644
--- a/time/tst-posixtz.c
+++ b/time/tst-posixtz.c
@@ -28,8 +28,8 @@ struct
     "1999/02/25 15:18:12 dst=0 zone=EST" },
 };
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
   size_t cnt;
@@ -116,3 +116,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"