diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 02:52:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 02:52:20 +0000 |
commit | defc1ea34074e7882724c460260d307cdf981a70 (patch) | |
tree | fca9b9a5fe243f9c0c76b84824ea2ff92ea8e589 /findutils | |
parent | 26bc57d8b26425f23f4be974cce7bf35c95c9a1a (diff) | |
download | busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.gz busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.bz2 busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.zip |
*: 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
Diffstat (limited to 'findutils')
-rw-r--r-- | findutils/find.c | 2 | ||||
-rw-r--r-- | findutils/grep.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/findutils/find.c b/findutils/find.c index f75bc9ef9..51d26c00a 100644 --- a/findutils/find.c +++ b/findutils/find.c | |||
@@ -374,7 +374,7 @@ ACTF(context) | |||
374 | #endif | 374 | #endif |
375 | 375 | ||
376 | 376 | ||
377 | static int fileAction(const char *fileName, | 377 | static int FAST_FUNC fileAction(const char *fileName, |
378 | struct stat *statbuf, | 378 | struct stat *statbuf, |
379 | void *userData SKIP_FEATURE_FIND_MAXDEPTH(ATTRIBUTE_UNUSED), | 379 | void *userData SKIP_FEATURE_FIND_MAXDEPTH(ATTRIBUTE_UNUSED), |
380 | int depth SKIP_FEATURE_FIND_MAXDEPTH(ATTRIBUTE_UNUSED)) | 380 | int depth SKIP_FEATURE_FIND_MAXDEPTH(ATTRIBUTE_UNUSED)) |
diff --git a/findutils/grep.c b/findutils/grep.c index 9792ce479..8d18f43ec 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -370,7 +370,7 @@ static void load_regexes_from_file(llist_t *fopt) | |||
370 | } | 370 | } |
371 | } | 371 | } |
372 | 372 | ||
373 | static int file_action_grep(const char *filename, | 373 | static int FAST_FUNC file_action_grep(const char *filename, |
374 | struct stat *statbuf ATTRIBUTE_UNUSED, | 374 | struct stat *statbuf ATTRIBUTE_UNUSED, |
375 | void* matched, | 375 | void* matched, |
376 | int depth ATTRIBUTE_UNUSED) | 376 | int depth ATTRIBUTE_UNUSED) |