summaryrefslogtreecommitdiff
path: root/stdlib/tst-fmtmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-fmtmsg.c')
-rw-r--r--stdlib/tst-fmtmsg.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/tst-fmtmsg.c b/stdlib/tst-fmtmsg.c
index c3748d64d5..b7948c5f1e 100644
--- a/stdlib/tst-fmtmsg.c
+++ b/stdlib/tst-fmtmsg.c
@@ -7,8 +7,8 @@
#define MM_TEST 10
-int
-main (void)
+static int
+do_test (void)
{
int result = 0;
@@ -80,3 +80,6 @@ main (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"