about summary refs log tree commit diff
path: root/stdlib/tst-rand48.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-rand48.c')
-rw-r--r--stdlib/tst-rand48.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/tst-rand48.c b/stdlib/tst-rand48.c
index 52e1b96afe..973c62e1eb 100644
--- a/stdlib/tst-rand48.c
+++ b/stdlib/tst-rand48.c
@@ -8,8 +8,8 @@
 #endif
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   unsigned short int xs[3] = { 0x0001, 0x0012, 0x0123 };
   unsigned short int lxs[7];
@@ -388,3 +388,6 @@ drand48() and erand48 in lines %d and %d produce different results\n",
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"