X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=0c4f89c4d9abdec07633629d7ce1bee64e601aa4;hp=9fbcd96d9ee1f4987fbbfad8e5eac896e6dd8dad;hb=b4f5e72f1383;hpb=cdfb5a85d9743fb53f4a2b56a392e0897a333568 diff --git a/options.c b/options.c index 9fbcd96d..0c4f89c4 100644 --- a/options.c +++ b/options.c @@ -4790,7 +4790,7 @@ static char *bc_calc(char *str) * substitution always occurs, even if VARNAME is empty or the corresponding * environment variable undefined. */ -static char *option_dup_subs(const char *opt) +char *fio_option_dup_subs(const char *opt) { char out[OPT_LEN_MAX+1]; char in[OPT_LEN_MAX+1]; @@ -4895,7 +4895,7 @@ static char **dup_and_sub_options(char **opts, int num_opts) int i; char **opts_copy = malloc(num_opts * sizeof(*opts)); for (i = 0; i < num_opts; i++) { - opts_copy[i] = option_dup_subs(opts[i]); + opts_copy[i] = fio_option_dup_subs(opts[i]); if (!opts_copy[i]) continue; opts_copy[i] = fio_keyword_replace(opts_copy[i]);