about summary refs log tree commit diff
path: root/gnulib
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib')
-rw-r--r--gnulib/tst-gcc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnulib/tst-gcc.c b/gnulib/tst-gcc.c
index 71fab284a2..9f4ba83607 100644
--- a/gnulib/tst-gcc.c
+++ b/gnulib/tst-gcc.c
@@ -51,8 +51,8 @@
   })
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
   int __integer_type;
@@ -71,3 +71,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"