From ba1315d0fbe7fa43aa7481b5d6e92bd03b0152d5 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 13 Sep 2008 14:59:38 +0000 Subject: modutils/*: rewrite by Timo Teras - a lot faster (linear algorithmic complexity, smaller memory foot print) - a lot smaller (the old code was overly complicated) - loading of aliases is now module-init-tools compliant - blacklisting is done correctly (-b option added) - module argument quoting done right - depmod now correctly generates modules.symbols and modules.alias add/remove: 16/21 grow/shrink: 4/6 up/down: 6930/-9316 Total: -2386 bytes text data bss dec hex filename 806039 592 6680 813311 c68ff busybox_old 803498 592 6676 810766 c5f0e busybox_unstripped --- libbb/llist.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libbb/llist.c') diff --git a/libbb/llist.c b/libbb/llist.c index 094c65246..2bef43151 100644 --- a/libbb/llist.c +++ b/libbb/llist.c @@ -90,7 +90,6 @@ void FAST_FUNC llist_free(llist_t *elm, void (*freeit) (void *data)) } } -#ifdef UNUSED /* Reverse list order. */ llist_t* FAST_FUNC llist_rev(llist_t *list) { @@ -105,4 +104,3 @@ llist_t* FAST_FUNC llist_rev(llist_t *list) } return rev; } -#endif -- cgit v1.2.3