summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-05-21 14:44:21 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-21 14:44:21 +0200
commit10dbc9543edd5b5a7929dd8fa87ed33dd545375c (patch)
tree6f95a31f3a4c3d95b317a3280870dffb5ba5d4e1 /util.h
parentfc0dde5a60a066b8506834f508aebf0ea5055990 (diff)
Merge fmt_human_2 and fmt_human_10 to one function
Now only one function, fmt_human, takes an additional argument "base".
Diffstat (limited to 'util.h')
-rw-r--r--util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/util.h b/util.h
index 4879414..faa1472 100644
--- a/util.h
+++ b/util.h
@@ -10,6 +10,5 @@ void die(const char *, ...);
int esnprintf(char *str, size_t size, const char *fmt, ...);
const char *bprintf(const char *fmt, ...);
-const char *fmt_human_2(size_t num);
-const char *fmt_human_10(size_t num);
+const char *fmt_human(size_t num, int iec);
int pscanf(const char *path, const char *fmt, ...);