summaryrefslogtreecommitdiff
path: root/tests/shared_mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shared_mmap.c')
-rw-r--r--tests/shared_mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shared_mmap.c b/tests/shared_mmap.c
index 40d462302ef..5c32a66c299 100644
--- a/tests/shared_mmap.c
+++ b/tests/shared_mmap.c
@@ -15,7 +15,7 @@
#define MAP_FILE 0
#endif
-main()
+int main(void)
{
int *buf;
int i;