From 48c172ba589cfd848624b51f6f748b56bc217775 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 6 May 2014 06:31:28 -0500 Subject: Switch human_readable() to just outputing decimal kilo/mega/gigabytes, make du use it, move it from lib/pending.c to lib.c. --- lib/lib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/lib.h') diff --git a/lib/lib.h b/lib/lib.h index d5b3d3ce..715e78d9 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -153,6 +153,7 @@ void replace_tempfile(int fdin, int fdout, char **tempname); void crc_init(unsigned int *crc_table, int little_endian); int terminal_size(unsigned *x, unsigned *y); int yesno(char *prompt, int def); +int human_readable(char *buf, unsigned long long num); // net.c int xsocket(int domain, int type, int protocol); -- cgit v1.2.3