diff options
author | Aaron Marcher <me@drkhsh.at> | 2018-05-21 14:44:21 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-05-21 14:44:21 +0200 |
commit | 10dbc9543edd5b5a7929dd8fa87ed33dd545375c (patch) | |
tree | 6f95a31f3a4c3d95b317a3280870dffb5ba5d4e1 /util.h | |
parent | fc0dde5a60a066b8506834f508aebf0ea5055990 (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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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, ...); |