summaryrefslogtreecommitdiff
path: root/libbcachefs/util.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-12-19 15:20:44 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2018-12-19 15:21:54 -0500
commit99ccaf73a8b92d6cb5d6892142a12468081a2b0d (patch)
tree33485dc8938ec4ff92fd653fae58355a85e861cc /libbcachefs/util.h
parentf9ba96e16535a653b97f7f1f953fabf477737a96 (diff)
Update bcachefs sources to 2724e115d2 bcachefs: Lots of option handling improvements
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);