diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-03 08:17:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-03 08:17:29 +0000 |
commit | 61c4ff8b2ddc3841050c17a5f87791653dbd2b7b (patch) | |
tree | e97b4f25c511372d73bdd96c389c5f468d99138a /util/suffix.h | |
parent | Adding upstream version 2.4. (diff) | |
download | nvme-cli-61c4ff8b2ddc3841050c17a5f87791653dbd2b7b.tar.xz nvme-cli-61c4ff8b2ddc3841050c17a5f87791653dbd2b7b.zip |
Adding upstream version 2.4+really2.3.upstream/2.4+really2.3
This reverts commit f42531334c05b7f49ae43c0a27e347a487fb2667.
Diffstat (limited to 'util/suffix.h')
-rw-r--r-- | util/suffix.h | 4 |
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 |