diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 06:52:20 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 06:52:20 +0400 |
commit | defc1ea34074e7882724c460260d307cdf981a70 (patch) | |
tree | fca9b9a5fe243f9c0c76b84824ea2ff92ea8e589 /libbb/udp_io.c | |
parent | 26bc57d8b26425f23f4be974cce7bf35c95c9a1a (diff) |
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
text data bss dec hex filename
808035 611 6868 815514 c719a busybox_old
804472 611 6868 811951 c63af busybox_unstripped
Diffstat (limited to 'libbb/udp_io.c')
-rw-r--r-- | libbb/udp_io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/udp_io.c b/libbb/udp_io.c index c99e51643..b31f28416 100644 --- a/libbb/udp_io.c +++ b/libbb/udp_io.c @@ -13,7 +13,7 @@ * This asks kernel to let us know dst addr/port of incoming packets * We don't check for errors here. Not supported == won't be used */ -void +void FAST_FUNC socket_want_pktinfo(int fd) { #ifdef IP_PKTINFO @@ -25,7 +25,7 @@ socket_want_pktinfo(int fd) } -ssize_t +ssize_t FAST_FUNC send_to_from(int fd, void *buf, size_t len, int flags, const struct sockaddr *to, const struct sockaddr *from, @@ -100,7 +100,7 @@ send_to_from(int fd, void *buf, size_t len, int flags, * _Only_ IP/IPv6 address part of 'to' is _maybe_ modified. * Typical usage is to preinit 'to' with "default" value * before calling recv_from_to(). */ -ssize_t +ssize_t FAST_FUNC recv_from_to(int fd, void *buf, size_t len, int flags, struct sockaddr *from, struct sockaddr *to, socklen_t sa_size) |