about summary refs log tree commit diff
path: root/time/tst-getdate.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tst-getdate.c')
-rw-r--r--time/tst-getdate.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/time/tst-getdate.c b/time/tst-getdate.c
index fd879239c3..b3377ee55a 100644
--- a/time/tst-getdate.c
+++ b/time/tst-getdate.c
@@ -76,8 +76,8 @@ report_date_error (int err)
 }
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int errors = 0;
   size_t i;
@@ -121,3 +121,6 @@ main (void)
     printf ("No errors found.\n");
   return errors != 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"