summaryrefslogtreecommitdiffstats
path: root/util/suffix.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/suffix.h')
-rw-r--r--util/suffix.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/suffix.h b/util/suffix.h
index 5ea58f4..b367ce4 100644
--- a/util/suffix.h
+++ b/util/suffix.h
@@ -36,10 +36,10 @@
#include <stdbool.h>
const char *suffix_si_get(double *value);
-int suffix_si_parse(const char *str, char **endptr, uint64_t *val);
+uint64_t suffix_si_parse(const char *value, bool *suffixed);
const char *suffix_si_get_ld(long double *value);
const char *suffix_binary_get(long long *value);
const char *suffix_dbinary_get(double *value);
-int suffix_binary_parse(const char *str, char **endptr, uint64_t *val);
+uint64_t suffix_binary_parse(const char *value);
#endif