Constify a few more hot paths
[fio.git] / engines / null.c
index e7df6a134d479c5ab370f496044619b18f6b15d2..600093052d683bc1d3e5a44d2ecd5e590e5d4786 100644 (file)
@@ -32,7 +32,7 @@ static struct io_u *fio_null_event(struct thread_data *td, int event)
 
 static int fio_null_getevents(struct thread_data *td, unsigned int min_events,
                              unsigned int fio_unused max,
-                             struct timespec fio_unused *t)
+                             const struct timespec fio_unused *t)
 {
        struct null_data *nd = (struct null_data *) td->io_ops->data;
        int ret = 0;