about summary refs log tree commit diff
path: root/localedata/tst-setlocale.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-setlocale.c')
-rw-r--r--localedata/tst-setlocale.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-setlocale.c b/localedata/tst-setlocale.c
index 1f8e68d887..a09a4de531 100644
--- a/localedata/tst-setlocale.c
+++ b/localedata/tst-setlocale.c
@@ -3,8 +3,8 @@
 #include <stdio.h>
 #include <string.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   char q[30];
   char *s;
@@ -23,3 +23,6 @@ main (void)
 
   return strcmp (s, "de_DE.UTF-8") != 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"