about summary refs log tree commit diff
path: root/wcsmbs/tst-wchar-h.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/tst-wchar-h.c')
-rw-r--r--wcsmbs/tst-wchar-h.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/wcsmbs/tst-wchar-h.c b/wcsmbs/tst-wchar-h.c
index 4cf2dd0690..fd2ad569a7 100644
--- a/wcsmbs/tst-wchar-h.c
+++ b/wcsmbs/tst-wchar-h.c
@@ -1,9 +1,12 @@
 #include <stdlib.h>
 #include <wchar.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   mbstate_t x;
   return sizeof (x) - sizeof (mbstate_t);
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"