From c72b43c2f07e5fae288fff9e220b1f88e2889a72 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 13 Jul 2013 23:49:45 +0200 Subject: Commonalize typical [b,]k,m suffix struct function old new delta bkm_suffixes - 32 +32 static.km_suffixes 24 - -24 suffixes 32 - -32 static.bkm 32 - -32 head_tail_suffixes 32 - -32 ------------------------------------------------------------------------------ (add/remove: 2/6 grow/shrink: 0/0 up/down: 72/-160) Total: -88 bytes Signed-off-by: Denys Vlasenko --- coreutils/head.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'coreutils/head.c') diff --git a/coreutils/head.c b/coreutils/head.c index 291e1ce37..9388b026a 100644 --- a/coreutils/head.c +++ b/coreutils/head.c @@ -12,7 +12,6 @@ /* http://www.opengroup.org/onlinepubs/007904975/utilities/head.html */ //kbuild:lib-$(CONFIG_HEAD) += head.o -//kbuild:lib-$(CONFIG_HEAD) += head_tail.o //usage:#define head_trivial_usage //usage: "[OPTIONS] [FILE]..." @@ -35,7 +34,6 @@ //usage: "daemon:x:1:1:daemon:/usr/sbin:/bin/sh\n" #include "libbb.h" -#include "head_tail.h" /* This is a NOEXEC applet. Be very careful! */ @@ -140,7 +138,7 @@ eat_num(bool *negative_N, const char *p) p++; } #endif - return xatoul_sfx(p, head_tail_suffixes); + return xatoul_sfx(p, bkm_suffixes); } static const char head_opts[] ALIGN1 = -- cgit v1.2.3