summaryrefslogtreecommitdiff
path: root/timezone/tst-timezone.c
diff options
context:
space:
mode:
Diffstat (limited to 'timezone/tst-timezone.c')
-rw-r--r--timezone/tst-timezone.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/timezone/tst-timezone.c b/timezone/tst-timezone.c
index 7152809d6c..e0c36876cb 100644
--- a/timezone/tst-timezone.c
+++ b/timezone/tst-timezone.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1998.
@@ -87,8 +87,8 @@ check_tzvars (const char *name, int dayl, int timez, const char *const tznam[])
}
-int
-main (int argc, char ** argv)
+static int
+do_test (void)
{
time_t t;
const struct test_times *pt;
@@ -166,3 +166,6 @@ main (int argc, char ** argv)
return failed ? EXIT_FAILURE : EXIT_SUCCESS;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"