projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Make io engines -W clean
[fio.git]
/
engines
/
fio-engine-libaio.c
diff --git
a/engines/fio-engine-libaio.c
b/engines/fio-engine-libaio.c
index 9197107cc65a8abfbfb1ab5b0e29ec4e4905f31f..c3fefdaccda7ea97cf660c0db4007b158807310e 100644
(file)
--- a/
engines/fio-engine-libaio.c
+++ b/
engines/fio-engine-libaio.c
@@
-17,12
+17,13
@@
struct libaio_data {
struct io_event *aio_events;
};
struct io_event *aio_events;
};
-static int fio_libaio_sync(struct thread_data *td, struct fio_file *f)
+static int fio_libaio_sync(struct thread_data fio_unused *td,
+ struct fio_file *f)
{
return fsync(f->fd);
}
{
return fsync(f->fd);
}
-static int fio_libaio_prep(struct thread_data *td, struct io_u *io_u)
+static int fio_libaio_prep(struct thread_data
fio_unused
*td, struct io_u *io_u)
{
struct fio_file *f = io_u->file;
{
struct fio_file *f = io_u->file;