From 5749328b5634918888474222732572a3e0c97f70 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 2 Mar 2010 16:18:14 +0100 Subject: head,tail: trim help text; make suffixes unconditional for head too function old new delta packed_usage 26411 26375 -36 Signed-off-by: Denys Vlasenko --- coreutils/head.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'coreutils') diff --git a/coreutils/head.c b/coreutils/head.c index 0fab8a8ae..75189eda8 100644 --- a/coreutils/head.c +++ b/coreutils/head.c @@ -20,14 +20,12 @@ static const char head_opts[] ALIGN1 = #endif ; -#if ENABLE_FEATURE_FANCY_HEAD static const struct suffix_mult head_suffixes[] = { { "b", 512 }, { "k", 1024 }, { "m", 1024*1024 }, { "", 0 } }; -#endif static const char header_fmt_str[] ALIGN1 = "\n==> %s <==\n"; @@ -78,11 +76,7 @@ int head_main(int argc, char **argv) #if ENABLE_INCLUDE_SUSv2 || ENABLE_FEATURE_FANCY_HEAD GET_COUNT: #endif -#if !ENABLE_FEATURE_FANCY_HEAD - count = xatoul(p); -#else count = xatoul_sfx(p, head_suffixes); -#endif break; default: bb_show_usage(); -- cgit v1.2.3