about summary refs log tree commit diff
path: root/stdlib/tst-environ.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-environ.c')
-rw-r--r--stdlib/tst-environ.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/tst-environ.c b/stdlib/tst-environ.c
index 3316d7e555..b1de2f99d7 100644
--- a/stdlib/tst-environ.c
+++ b/stdlib/tst-environ.c
@@ -25,8 +25,8 @@
 
 char putenv_val[100] = VAR "=some longer value";
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
   const char *valp;
@@ -219,3 +219,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"