about summary refs log tree commit diff
path: root/stdlib/tst-limits.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-limits.c')
-rw-r--r--stdlib/tst-limits.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/tst-limits.c b/stdlib/tst-limits.c
index 265b9dbfbb..6e51dcadb5 100644
--- a/stdlib/tst-limits.c
+++ b/stdlib/tst-limits.c
@@ -16,8 +16,8 @@ bitval (int bits)
 }
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
 
@@ -67,3 +67,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"