summaryrefslogtreecommitdiff
path: root/posix/tst-mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-mmap.c')
-rw-r--r--posix/tst-mmap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/posix/tst-mmap.c b/posix/tst-mmap.c
index c03acf5e16..5e52b49e35 100644
--- a/posix/tst-mmap.c
+++ b/posix/tst-mmap.c
@@ -6,8 +6,8 @@
#include <sys/mman.h>
-int
-main (void)
+static int
+do_test (void)
{
int result = 0;
FILE *fp;
@@ -195,3 +195,6 @@ main (void)
/* That's it. */
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"