summaryrefslogtreecommitdiff
path: root/stdlib/tst-rand48-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-rand48-2.c')
-rw-r--r--stdlib/tst-rand48-2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/tst-rand48-2.c b/stdlib/tst-rand48-2.c
index 3079b98839..8b8fef4430 100644
--- a/stdlib/tst-rand48-2.c
+++ b/stdlib/tst-rand48-2.c
@@ -3,8 +3,8 @@
#include <stdlib.h>
#include <time.h>
-int
-main (void)
+static int
+do_test (void)
{
time_t t = time (NULL);
int i, ret = 0;
@@ -111,3 +111,6 @@ main (void)
return ret;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"