about summary refs log tree commit diff
path: root/io/test-stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/test-stat.c')
-rw-r--r--io/test-stat.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/io/test-stat.c b/io/test-stat.c
index c5cfd26fe5..e9c846847c 100644
--- a/io/test-stat.c
+++ b/io/test-stat.c
@@ -25,8 +25,8 @@
 #include <stddef.h>
 #include <sys/stat.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   /* With _FILE_OFFSET_BITS=64 struct stat and struct stat64 should
      be identical.  */
@@ -65,3 +65,6 @@ main (void)
 #endif
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"