*: 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
This commit is contained in:
Denis Vlasenko
2008-06-27 02:52:20 +00:00
parent 26bc57d8b2
commit defc1ea340
176 changed files with 844 additions and 838 deletions

View File

@@ -44,7 +44,7 @@ typedef struct {
} bb_loop_info;
#endif
char *query_loop(const char *device)
char* FAST_FUNC query_loop(const char *device)
{
int fd;
bb_loop_info loopinfo;
@@ -61,7 +61,7 @@ char *query_loop(const char *device)
}
int del_loop(const char *device)
int FAST_FUNC del_loop(const char *device)
{
int fd, rc;
@@ -79,7 +79,7 @@ int del_loop(const char *device)
search will re-use an existing loop device already bound to that
file/offset if it finds one.
*/
int set_loop(char **device, const char *file, unsigned long long offset)
int FAST_FUNC set_loop(char **device, const char *file, unsigned long long offset)
{
char dev[LOOP_NAMESIZE];
char *try;