X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=options.h;h=6805b314125a96778e44e8d222720b1346ff651b;hb=4f76cfe47a8a964cbdff993a85ee55362c2845e0;hp=bd97654b57e38cf05e85c53fe006c154f51f21e3;hpb=72a703daa9acefd613fff1aa76dabc44a6842194;p=fio.git 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];