From 8d9f495d68664017e0b87f2c0c2d0eae9f3c4836 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 8 Apr 2007 15:08:42 +0000 Subject: getopt32: fix llist_t options ordering. llist_rev is not unused. function old new delta tar_main 705 695 -10 sort_main 928 918 -10 decode_format_string 886 876 -10 run_parts_main 197 185 -12 ps_main 513 500 -13 wget_main 2764 2750 -14 awk_main 1014 1000 -14 od_main 2886 2866 -20 llist_rev 25 - -25 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/8 up/down: 0/-128) Total: -128 bytes --- coreutils/od_bloaty.c | 1 - coreutils/sort.c | 1 - 2 files changed, 2 deletions(-) (limited to 'coreutils') diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c index 74765f842..efdbf354a 100644 --- a/coreutils/od_bloaty.c +++ b/coreutils/od_bloaty.c @@ -1312,7 +1312,6 @@ int od_main(int argc, char **argv) if (opt & OPT_l) decode_format_string("d4"); if (opt & OPT_o) decode_format_string("o2"); //if (opt & OPT_t)... - lst_t = llist_rev(lst_t); while (lst_t) { decode_format_string(lst_t->data); lst_t = lst_t->link; diff --git a/coreutils/sort.c b/coreutils/sort.c index 311d0cb9c..dad542964 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c @@ -296,7 +296,6 @@ int sort_main(int argc, char **argv) key_separator = str_t[0]; } /* parse sort key */ - lst_k = llist_rev(lst_k); while (lst_k) { enum { FLAG_allowed_for_k = -- cgit v1.2.3