diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-24 23:27:38 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-24 23:27:38 +0200 |
commit | 2e9b5510d687e5418bea85c3b04ad1e1fa797b6f (patch) | |
tree | 426a864b37e091349a569e1f822ea084121ed04a /networking/libiproute/iplink.c | |
parent | e0a622093c6c1f3e3a1f58713118395994000fd9 (diff) |
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>
Diffstat (limited to 'networking/libiproute/iplink.c')
-rw-r--r-- | networking/libiproute/iplink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index 8bf892797..9f9218573 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c @@ -362,7 +362,7 @@ static int do_change(char **argv, const unsigned rtm) } /* Return value becomes exitcode. It's okay to not return at all */ -int do_iplink(char **argv) +int FAST_FUNC do_iplink(char **argv) { static const char keywords[] ALIGN1 = "add\0""delete\0""set\0""show\0""lst\0""list\0"; |