Merge branch 'armv6' of https://github.com/sitsofe/fio
[fio.git] / engines / mmap.c
index ea7179da2325ece1b0fd7772271d74fff4e90a3e..308b4665444cd619b73e6f5c3aeefbed78e56002 100644 (file)
@@ -7,7 +7,6 @@
  */
 #include <stdio.h>
 #include <stdlib.h>
-#include <unistd.h>
 #include <errno.h>
 #include <sys/mman.h>
 
@@ -178,7 +177,8 @@ done:
        return 0;
 }
 
-static int fio_mmapio_queue(struct thread_data *td, struct io_u *io_u)
+static enum fio_q_status fio_mmapio_queue(struct thread_data *td,
+                                         struct io_u *io_u)
 {
        struct fio_file *f = io_u->file;
        struct fio_mmap_data *fmd = FILE_ENG_DATA(f);