Merge fmt_human_2 and fmt_human_10 to one function
authorAaron Marcher <me@drkhsh.at>
Mon, 21 May 2018 12:44:21 +0000 (14:44 +0200)
committerAaron Marcher <me@drkhsh.at>
Mon, 21 May 2018 12:44:21 +0000 (14:44 +0200)
commit10dbc9543edd5b5a7929dd8fa87ed33dd545375c
tree6f95a31f3a4c3d95b317a3280870dffb5ba5d4e1
parentfc0dde5a60a066b8506834f508aebf0ea5055990
Merge fmt_human_2 and fmt_human_10 to one function

Now only one function, fmt_human, takes an additional argument "base".
components/cpu.c
components/disk.c
components/netspeeds.c
components/ram.c
components/swap.c
util.c
util.h