diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-08 14:54:18 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-08 14:54:18 +0200 |
commit | ef5bc2c39c8b2dfda3915345f7abb17e1927684d (patch) | |
tree | c40c72e4d61cb07f2e3bb4380d840c4cedb8bec6 | |
parent | adf922ec2800d53f5eedd469cf99c55946caeb43 (diff) | |
download | busybox-w32-ef5bc2c39c8b2dfda3915345f7abb17e1927684d.tar.gz busybox-w32-ef5bc2c39c8b2dfda3915345f7abb17e1927684d.tar.bz2 busybox-w32-ef5bc2c39c8b2dfda3915345f7abb17e1927684d.zip |
*: three more NOINLINEs
function old new delta
lzo_decompress - 525 +525
lzo_compress - 470 +470
showmode - 330 +330
fbset_main 1698 1273 -425
do_lzo_compress 799 323 -476
do_lzo_decompress 1167 526 -641
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 0/3 up/down: 1325/-1542) Total: -217 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | archival/lzop.c | 4 | ||||
-rw-r--r-- | util-linux/fbset.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/archival/lzop.c b/archival/lzop.c index 5f2744d91..46aa2d3d1 100644 --- a/archival/lzop.c +++ b/archival/lzop.c | |||
@@ -598,7 +598,7 @@ static int lzo_get_method(header_t *h) | |||
598 | /**********************************************************************/ | 598 | /**********************************************************************/ |
599 | // compress a file | 599 | // compress a file |
600 | /**********************************************************************/ | 600 | /**********************************************************************/ |
601 | static smallint lzo_compress(const header_t *h) | 601 | static NOINLINE smallint lzo_compress(const header_t *h) |
602 | { | 602 | { |
603 | unsigned block_size = LZO_BLOCK_SIZE; | 603 | unsigned block_size = LZO_BLOCK_SIZE; |
604 | int r = 0; /* LZO_E_OK */ | 604 | int r = 0; /* LZO_E_OK */ |
@@ -706,7 +706,7 @@ static void lzo_check(uint32_t FAST_FUNC (*fn)(uint32_t, const uint8_t*, unsigne | |||
706 | /**********************************************************************/ | 706 | /**********************************************************************/ |
707 | // decompress a file | 707 | // decompress a file |
708 | /**********************************************************************/ | 708 | /**********************************************************************/ |
709 | static smallint lzo_decompress(const header_t *h) | 709 | static NOINLINE smallint lzo_decompress(const header_t *h) |
710 | { | 710 | { |
711 | unsigned block_size = LZO_BLOCK_SIZE; | 711 | unsigned block_size = LZO_BLOCK_SIZE; |
712 | int r; | 712 | int r; |
diff --git a/util-linux/fbset.c b/util-linux/fbset.c index 358d0a8fc..6e497c6ea 100644 --- a/util-linux/fbset.c +++ b/util-linux/fbset.c | |||
@@ -269,7 +269,7 @@ static void setfbmode(struct fb_var_screeninfo *base, | |||
269 | base->bits_per_pixel = set->bits_per_pixel; | 269 | base->bits_per_pixel = set->bits_per_pixel; |
270 | } | 270 | } |
271 | 271 | ||
272 | static void showmode(struct fb_var_screeninfo *v) | 272 | static NOINLINE void showmode(struct fb_var_screeninfo *v) |
273 | { | 273 | { |
274 | double drate = 0, hrate = 0, vrate = 0; | 274 | double drate = 0, hrate = 0, vrate = 0; |
275 | 275 | ||