From f868963c672ffdfc4bd37670b8d74342577264b1 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 27 Jul 2007 15:06:25 +0000 Subject: multiplier suffixes are short, store them directly in struct suffix_mult function old new delta xstrtoul_range_sfx 226 217 -9 xstrtoull_range_sfx 291 280 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-20) Total: -20 bytes text data bss dec hex filename 669128 2668 13616 685412 a7564 busybox_old 669108 2668 13616 685392 a7550 busybox_unstripped --- coreutils/stty.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'coreutils/stty.c') diff --git a/coreutils/stty.c b/coreutils/stty.c index b73e2eace..fbb72baa9 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c @@ -524,10 +524,10 @@ static void display_window_size(const int fancy) } static const struct suffix_mult stty_suffixes[] = { - {"b", 512 }, - {"k", 1024}, - {"B", 1024}, - {NULL, 0 } + { "b", 512 }, + { "k", 1024 }, + { "B", 1024 }, + { } }; static const struct mode_info *find_mode(const char *name) -- cgit v1.2.3