summaryrefslogtreecommitdiff
path: root/networking/ip.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-07-24 23:27:38 +0200
committerDenys Vlasenko2010-07-24 23:27:38 +0200
commit2e9b5510d687e5418bea85c3b04ad1e1fa797b6f (patch)
tree426a864b37e091349a569e1f822ea084121ed04a /networking/ip.c
parente0a622093c6c1f3e3a1f58713118395994000fd9 (diff)
downloadbusybox-2e9b5510d687e5418bea85c3b04ad1e1fa797b6f.zip
busybox-2e9b5510d687e5418bea85c3b04ad1e1fa797b6f.tar.gz
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/ip.c')
-rw-r--r--networking/ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ip.c b/networking/ip.c
index 3a99fa3..0042896 100644
--- a/networking/ip.c
+++ b/networking/ip.c
@@ -22,12 +22,12 @@
|| ENABLE_FEATURE_IP_TUNNEL \
|| ENABLE_FEATURE_IP_RULE
-static int ip_print_help(char **argv UNUSED_PARAM)
+static int FAST_FUNC ip_print_help(char **argv UNUSED_PARAM)
{
bb_show_usage();
}
-typedef int (*ip_func_ptr_t)(char**);
+typedef int FAST_FUNC (*ip_func_ptr_t)(char**);
static int ip_do(ip_func_ptr_t ip_func, char **argv)
{