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 /libbb/loop.c | |
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 'libbb/loop.c')
-rw-r--r-- | libbb/loop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/loop.c b/libbb/loop.c index 6934b7a3b..7d2b420be 100644 --- a/libbb/loop.c +++ b/libbb/loop.c | |||
@@ -44,7 +44,7 @@ typedef struct { | |||
44 | } bb_loop_info; | 44 | } bb_loop_info; |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | char *query_loop(const char *device) | 47 | char* FAST_FUNC query_loop(const char *device) |
48 | { | 48 | { |
49 | int fd; | 49 | int fd; |
50 | bb_loop_info loopinfo; | 50 | bb_loop_info loopinfo; |
@@ -61,7 +61,7 @@ char *query_loop(const char *device) | |||
61 | } | 61 | } |
62 | 62 | ||
63 | 63 | ||
64 | int del_loop(const char *device) | 64 | int FAST_FUNC del_loop(const char *device) |
65 | { | 65 | { |
66 | int fd, rc; | 66 | int fd, rc; |
67 | 67 | ||
@@ -79,7 +79,7 @@ int del_loop(const char *device) | |||
79 | search will re-use an existing loop device already bound to that | 79 | search will re-use an existing loop device already bound to that |
80 | file/offset if it finds one. | 80 | file/offset if it finds one. |
81 | */ | 81 | */ |
82 | int set_loop(char **device, const char *file, unsigned long long offset) | 82 | int FAST_FUNC set_loop(char **device, const char *file, unsigned long long offset) |
83 | { | 83 | { |
84 | char dev[LOOP_NAMESIZE]; | 84 | char dev[LOOP_NAMESIZE]; |
85 | char *try; | 85 | char *try; |