fio: factor out FIO_NET_PORT
[fio.git] / parse.c
diff --git a/parse.c b/parse.c
index 6ea7c103c0973a259ec6227355161e5139a63025..f1d5f8f8a72922a85d511528b58f9796c77c337b 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -220,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.
  */
-int str_to_float(const char *str, double *val)
+static int str_to_float(const char *str, double *val)
 {
        return (1 == sscanf(str, "%lf", val));
 }