about summary refs log tree commit diff
path: root/iconv/tst-iconv2.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/tst-iconv2.c')
-rw-r--r--iconv/tst-iconv2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/iconv/tst-iconv2.c b/iconv/tst-iconv2.c
index 5036ad1058..0672a511ec 100644
--- a/iconv/tst-iconv2.c
+++ b/iconv/tst-iconv2.c
@@ -25,8 +25,8 @@
 #include <string.h>
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   char buf[3];
   const wchar_t wc[1] = L"a";
@@ -97,3 +97,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"