libiproute: code shrink by adding FAST_FUNC

function                                             old     new   delta
ipaddr_list_or_flush                                1282    1293     +11
ip_parse_common_args                                 153     151      -2
ip_main                                               53      50      -3
ip_do                                                 19      15      -4
do_iptunnel                                          985     980      -5
do_iprule                                            982     977      -5
do_iplink                                           1637    1631      -6
do_iproute                                          2105    2098      -7
do_ipaddr                                           1406    1398      -8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/8 up/down: 11/-40)            Total: -29 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-07-24 23:27:38 +02:00
parent e0a622093c
commit 2e9b5510d6
8 changed files with 23 additions and 24 deletions

View File

@@ -22,7 +22,7 @@ family_t preferred_family = AF_UNSPEC;
smallint oneline;
char _SL_;
char **ip_parse_common_args(char **argv)
char** FAST_FUNC ip_parse_common_args(char **argv)
{
static const char ip_common_commands[] ALIGN1 =
"oneline" "\0"