aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-27 02:52:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-27 02:52:20 +0000
commitdefc1ea34074e7882724c460260d307cdf981a70 (patch)
treefca9b9a5fe243f9c0c76b84824ea2ff92ea8e589 /findutils
parent26bc57d8b26425f23f4be974cce7bf35c95c9a1a (diff)
downloadbusybox-defc1ea34074e7882724c460260d307cdf981a70.tar.gz
*: 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.c2
-rw-r--r--findutils/grep.c2
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)
#endif
-static int fileAction(const char *fileName,
+static int FAST_FUNC fileAction(const char *fileName,
struct stat *statbuf,
void *userData SKIP_FEATURE_FIND_MAXDEPTH(ATTRIBUTE_UNUSED),
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)
}
}
-static int file_action_grep(const char *filename,
+static int FAST_FUNC file_action_grep(const char *filename,
struct stat *statbuf ATTRIBUTE_UNUSED,
void* matched,
int depth ATTRIBUTE_UNUSED)