about summary refs log tree commit diff
path: root/intl/tst-ngettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/tst-ngettext.c')
-rw-r--r--intl/tst-ngettext.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/intl/tst-ngettext.c b/intl/tst-ngettext.c
index 4fb0ca21dc..71e91b9db9 100644
--- a/intl/tst-ngettext.c
+++ b/intl/tst-ngettext.c
@@ -25,8 +25,8 @@
 #include <string.h>
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   const char *strs[2] = { "singular", "plural" };
   unsigned long int i;
@@ -63,3 +63,6 @@ main (void)
 
   return res;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"