summaryrefslogtreecommitdiff
path: root/wcsmbs/tst-wcstof.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/tst-wcstof.c')
-rw-r--r--wcsmbs/tst-wcstof.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/wcsmbs/tst-wcstof.c b/wcsmbs/tst-wcstof.c
index 197cb5c770..576a58c023 100644
--- a/wcsmbs/tst-wcstof.c
+++ b/wcsmbs/tst-wcstof.c
@@ -4,8 +4,8 @@
#include <string.h>
#include <wctype.h>
-int
-main (void)
+static int
+do_test (void)
{
int result = 0;
char buf[100];
@@ -21,3 +21,6 @@ main (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"