summaryrefslogtreecommitdiff
path: root/intl/tst-gettext2.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/tst-gettext2.c')
-rw-r--r--intl/tst-gettext2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/intl/tst-gettext2.c b/intl/tst-gettext2.c
index 075680a926..3c44165f1d 100644
--- a/intl/tst-gettext2.c
+++ b/intl/tst-gettext2.c
@@ -40,8 +40,8 @@ struct data_t strings[] =
const int lang_cnt = 3;
const char *lang[] = {"lang1", "lang2", "lang3"};
-int
-main (void)
+static int
+do_test (void)
{
int i;
@@ -70,3 +70,6 @@ main (void)
return 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"