PATCH: save a few bytes in arping
Denys Vlasenko
vda.linux at googlemail.com
Thu Apr 17 18:16:40 UTC 2008
On Thursday 17 April 2008 17:18, walter harms wrote:
> hi list,
> we save a few bits in arping. I know some people dislike
> gnu functions. the cp_step() function can be replace with mempcpy().
>
> the size reduction is not that big but ....
>
> busybox/busybox/networking> size arping.o
> text data bss dec hex filename
> 2741 0 0 2741 ab5 arping.o
> busybox/networking> size arping.o.org
> text data bss dec hex filename
> 2759 0 0 2759 ac7 arping.o.org
gremlins in my computer said:
cc1: warnings being treated as errors
networking/arping.c: In function 'catcher':
networking/arping.c:148: warning: implicit declaration of function 'send_pack'
make[1]: *** [networking/arping.o] Error 1
make: *** [networking] Error 2
--
vda
More information about the busybox
mailing list