X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.h;h=6805b314125a96778e44e8d222720b1346ff651b;hp=bd97654b57e38cf05e85c53fe006c154f51f21e3;hb=e13c3b50a1aa156223b5b9d20ed3d38dd4292479;hpb=332dab7091640eebcb2414c4e8d7f4921e9ec3e2 diff --git a/options.h b/options.h index bd97654b..6805b314 100644 --- a/options.h +++ b/options.h @@ -6,7 +6,6 @@ #include #include "parse.h" #include "flist.h" -#include "client.h" #define td_var_offset(var) ((size_t) &((struct thread_options *)0)->var) @@ -19,9 +18,9 @@ void del_opt_posval(const char *, const char *); struct thread_data; void fio_options_free(struct thread_data *); char *get_name_idx(char *, int); -int set_name_idx(char *, char *, int); +int set_name_idx(char *, size_t, char *, int); -extern char client_sockaddr_str[INET6_ADDRSTRLEN]; /* used with --client option */ +extern char client_sockaddr_str[]; /* used with --client option */ extern struct fio_option fio_options[FIO_MAX_OPTS];