commit | cc62ea704e4de10eb595b551f29af41266cf225d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Feb 09 21:17:06 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 09 21:17:06 2012 +0100 |
tree | 9b175aed80f20780084ef0aa67fc169c09dd3eec | |
parent | e721c57fc77e0155bb73a2c266dba0c6ce0bd3b5 [diff] [blame] |
Fix a few other static code checker spotted "issues" Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/parse.c b/parse.c index 6ea7c10..f1d5f8f 100644 --- a/parse.c +++ b/parse.c
@@ -220,7 +220,7 @@ /* * 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)); }