Callers don't always pass thread_options* to td_var(),
nor is it dependent on a certain structure type,
so just take void* without pointless cast.
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
typedef int (fio_opt_int_fn)(void *, int *);
struct thread_options;
-static inline void *td_var(struct thread_options *to, struct fio_option *o,
- unsigned int offset)
+static inline void *td_var(void *to, struct fio_option *o, unsigned int offset)
{
void *ret;