X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/422cadfd5ffd78ae1b8fdf15734e03bd0333b26e..3fc2872d1b3e62903a4af49326d42c97c11911d5:/util.h

diff --git a/util.h b/util.h
index 5111b37..7f1f26c 100644
--- a/util.h
+++ b/util.h
@@ -1,4 +1,6 @@
 /* See LICENSE file for copyright and license details. */
+#include <stdint.h>
+
 extern char buf[1024];
 
 #define LEN(x) (sizeof (x) / sizeof *(x))
@@ -10,5 +12,5 @@ void die(const char *, ...);
 
 int esnprintf(char *str, size_t size, const char *fmt, ...);
 const char *bprintf(const char *fmt, ...);
-const char *fmt_scaled(size_t);
+const char *fmt_human(uintmax_t num, int base);
 int pscanf(const char *path, const char *fmt, ...);