summaryrefslogtreecommitdiff
path: root/libbcachefs/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/util.h')
-rw-r--r--libbcachefs/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbcachefs/util.h b/libbcachefs/util.h
index 54392957..905b24f2 100644
--- a/libbcachefs/util.h
+++ b/libbcachefs/util.h
@@ -283,6 +283,7 @@ int bch2_strtoint_h(const char *, int *);
int bch2_strtouint_h(const char *, unsigned int *);
int bch2_strtoll_h(const char *, long long *);
int bch2_strtoull_h(const char *, unsigned long long *);
+int bch2_strtou64_h(const char *, u64 *);
static inline int bch2_strtol_h(const char *cp, long *res)
{
@@ -351,7 +352,7 @@ static inline int bch2_strtoul_h(const char *cp, long *res)
: type_is(var, char *) ? "%s\n" \
: "%i\n", var)
-ssize_t bch2_hprint(char *buf, s64 v);
+void bch2_hprint(struct printbuf *, s64);
bool bch2_is_zero(const void *, size_t);