about summary refs log tree commit diff
path: root/libio/tst-widetext.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-widetext.c')
-rw-r--r--libio/tst-widetext.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libio/tst-widetext.c b/libio/tst-widetext.c
index 179763e852..acab72b708 100644
--- a/libio/tst-widetext.c
+++ b/libio/tst-widetext.c
@@ -31,8 +31,8 @@
 #define SIZE 210000
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   char name[] = "/tmp/widetext.out.XXXXXX";
   char mbbuf[SIZE];
@@ -367,3 +367,6 @@ main (void)
 
   return status;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"