aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-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 c5cfd26..e9c8468 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"