* lib/human.c, lib/human.h (human_readable): Coalesce last two args
authorJim Meyering <jim@meyering.net>
Mon, 29 Jun 1998 15:23:04 +0000 (15:23 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 29 Jun 1998 15:23:04 +0000 (15:23 +0000)
commit96e78d1f64d7c8d2acc5ad27dc3e73b96ae80585
tree57f2caa1c9a643fa181c9f9c1fa0ac6e4bfc5667
parent27739d8615df56dcc22fe232760783aeb6d0e6e5
* lib/human.c, lib/human.h (human_readable): Coalesce last two args
into one, for convenience.  All callers changed.
(human_block_size): New function.
* lib/human.c: Include <config.h> only if HAVE_CONFIG_H.
Include <stdlib.h> if HAVE_STDLIB_H;
declare getenv unless HAVE_DECL_GETENV.
(_): New macro.
Include <argmatch.h>, <error.h>, <xstrtoul.h>.
(DEFAULT_BLOCK_SIZE): New macro.
(block_size_args, block_size_types): New constants.
(humblock): New function.
lib/human.c