aboutsummaryrefslogtreecommitdiff
path: root/src/mman/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mman/mmap.c')
-rw-r--r--src/mman/mmap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mman/mmap.c b/src/mman/mmap.c
index 43e5e029..460414ae 100644
--- a/src/mman/mmap.c
+++ b/src/mman/mmap.c
@@ -37,3 +37,11 @@ void *__mmap(void *start, size_t len, int prot, int flags, int fd, off_t off)
}
weak_alias(__mmap, mmap);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif