Constify a few more hot paths
[fio.git] / engines / binject.c
index 43e316950be45a3f9c9a183c6e7619b60b980b98..c0baf9d262c87376e10cfc43c7732a742c6b50e6 100644 (file)
@@ -91,7 +91,8 @@ one_more:
 }
 
 static int fio_binject_getevents(struct thread_data *td, unsigned int min,
-                             unsigned int max, struct timespec fio_unused *t)
+                                unsigned int max,
+                                const struct timespec fio_unused *t)
 {
        struct binject_data *bd = td->io_ops->data;
        int left = max, ret, r = 0, ev_index = 0;