From defc1ea34074e7882724c460260d307cdf981a70 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 27 Jun 2008 02:52:20 +0000 Subject: *: introduce and use FAST_FUNC: regparm on i386, otherwise no-on text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped --- libbb/dump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbb/dump.c') diff --git a/libbb/dump.c b/libbb/dump.c index 4d6472e37..c45595285 100644 --- a/libbb/dump.c +++ b/libbb/dump.c @@ -33,7 +33,7 @@ static const char size_conv_str[] ALIGN1 = static const char lcc[] ALIGN1 = "diouxX"; -int bb_dump_size(FS * fs) +int FAST_FUNC bb_dump_size(FS *fs) { FU *fu; int bcnt, cur_size; @@ -652,7 +652,7 @@ static void display(void) } } -int bb_dump_dump(char **argv) +int FAST_FUNC bb_dump_dump(char **argv) { FS *tfs; @@ -674,7 +674,7 @@ int bb_dump_dump(char **argv) return exitval; } -void bb_dump_add(const char *fmt) +void FAST_FUNC bb_dump_add(const char *fmt) { const char *p; char *p1; -- cgit v1.2.3