From 2e9b5510d687e5418bea85c3b04ad1e1fa797b6f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 24 Jul 2010 23:27:38 +0200 Subject: 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 --- networking/libiproute/iprule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/libiproute/iprule.c') diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c index 835529ec4..3af6a83a8 100644 --- a/networking/libiproute/iprule.c +++ b/networking/libiproute/iprule.c @@ -304,7 +304,7 @@ static int iprule_modify(int cmd, char **argv) } /* Return value becomes exitcode. It's okay to not return at all */ -int do_iprule(char **argv) +int FAST_FUNC do_iprule(char **argv) { static const char ip_rule_commands[] ALIGN1 = "add\0""delete\0""list\0""show\0"; -- cgit v1.2.3