X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=parse.c;h=ffe2dc0feb28aef5dc6560a2f894a5915b202f9f;hb=1e5324e723116a5faf9da686993cc79c14d62d4b;hp=9a6494f32db811746ba46303b5f300a83e1ddfc6;hpb=f982d35f5ae88f728c6853aaf57448db8f5fcf98;p=fio.git diff --git a/parse.c b/parse.c index 9a6494f3..ffe2dc0f 100644 --- a/parse.c +++ b/parse.c @@ -14,6 +14,7 @@ #include "parse.h" #include "debug.h" #include "options.h" +#include "minmax.h" static struct fio_option *__fio_options; @@ -219,7 +220,7 @@ static unsigned long long get_mult_bytes(const char *str, int len, void *data, /* * Convert string into a floating number. Return 1 for success and 0 otherwise. */ -static int str_to_float(const char *str, double *val) +int str_to_float(const char *str, double *val) { return (1 == sscanf(str, "%lf", val)); }