about summary refs log tree commit diff
path: root/iconv/tst-iconv1.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/tst-iconv1.c')
-rw-r--r--iconv/tst-iconv1.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/iconv/tst-iconv1.c b/iconv/tst-iconv1.c
index d806ce6ae8..0609f50e50 100644
--- a/iconv/tst-iconv1.c
+++ b/iconv/tst-iconv1.c
@@ -5,8 +5,8 @@
 #include <stdio.h>
 #include <string.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   char utf8[5];
   wchar_t ucs4[5];
@@ -42,3 +42,6 @@ main (void)
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"