summaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
Diffstat (limited to 'iconv')
-rw-r--r--iconv/tst-iconv3.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/iconv/tst-iconv3.c b/iconv/tst-iconv3.c
index f31c8129d7..b06f75f0bc 100644
--- a/iconv/tst-iconv3.c
+++ b/iconv/tst-iconv3.c
@@ -7,8 +7,8 @@
#define BUFSIZE 10000
-int
-main (int argc, char *argv[])
+static int
+do_test (void)
{
char inbuf[BUFSIZE];
wchar_t outbuf[BUFSIZE];
@@ -51,3 +51,6 @@ main (int argc, char *argv[])
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"