about summary refs log tree commit diff
path: root/time/tst-ftime_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tst-ftime_l.c')
-rw-r--r--time/tst-ftime_l.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/time/tst-ftime_l.c b/time/tst-ftime_l.c
index fc3d78d689..6690efeb9c 100644
--- a/time/tst-ftime_l.c
+++ b/time/tst-ftime_l.c
@@ -6,8 +6,8 @@
 #include <wchar.h>
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   locale_t l;
   locale_t old;
@@ -124,3 +124,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"