summaryrefslogtreecommitdiff
path: root/stdlib/tst-random2.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-random2.c')
-rw-r--r--stdlib/tst-random2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/tst-random2.c b/stdlib/tst-random2.c
index 0553b62992..da840f30be 100644
--- a/stdlib/tst-random2.c
+++ b/stdlib/tst-random2.c
@@ -20,8 +20,8 @@
#include <stdio.h>
#include <stdlib.h>
-int
-main (void)
+static int
+do_test (void)
{
int pass;
int ret = 0;
@@ -56,3 +56,6 @@ main (void)
}
return ret;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"