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/inode_hash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbb/inode_hash.c') diff --git a/libbb/inode_hash.c b/libbb/inode_hash.c index 9cca74bcb..4469671dd 100644 --- a/libbb/inode_hash.c +++ b/libbb/inode_hash.c @@ -27,7 +27,7 @@ static ino_dev_hashtable_bucket_t **ino_dev_hashtable; * Return name if statbuf->st_ino && statbuf->st_dev are recorded in * ino_dev_hashtable, else return NULL */ -char *is_in_ino_dev_hashtable(const struct stat *statbuf) +char* FAST_FUNC is_in_ino_dev_hashtable(const struct stat *statbuf) { ino_dev_hashtable_bucket_t *bucket; @@ -47,7 +47,7 @@ char *is_in_ino_dev_hashtable(const struct stat *statbuf) } /* Add statbuf to statbuf hash table */ -void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) +void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) { int i; ino_dev_hashtable_bucket_t *bucket; @@ -69,7 +69,7 @@ void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) #if ENABLE_FEATURE_CLEAN_UP /* Clear statbuf hash table */ -void reset_ino_dev_hashtable(void) +void FAST_FUNC reset_ino_dev_hashtable(void) { int i; ino_dev_hashtable_bucket_t *bucket; -- cgit v1.2.3