From f429baca868b7f62ffdeefbfce41abd677f97876 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 13 Jun 2001 08:02:45 +0000 Subject: I reworked make_human_readable_str so it now has a sane interface, and then fixed up df, du, and ls to use the new interface. I also fixed up some formatting issues in ls while I was in there. -Erik --- include/libbb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index f24a381..893a9f0 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -198,12 +198,12 @@ struct sysinfo { }; extern int sysinfo (struct sysinfo* info); -const char *make_human_readable_str(unsigned long val, unsigned long not_hr); enum { KILOBYTE = 1024, MEGABYTE = (KILOBYTE*1024), GIGABYTE = (MEGABYTE*1024) }; +const char *make_human_readable_str(unsigned long size, unsigned long block_size, unsigned long display_unit); int ask_confirmation(void); int klogctl(int type, char * b, int len); -- cgit v1.1