libbb: constify *bb_common_bufsiz1 (if it is compiled to be a pointer)
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 21 Apr 2016 19:47:45 +0000 (21:47 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 21 Apr 2016 19:47:45 +0000 (21:47 +0200)
commit93e1aaa1c7e5ed6d2704262700ec28837bdfc9b7
treeff6196f459e660dcce943bf0e1f79a46cf09e6fc
parentf56fb5eb1120a92bdfb6d0ce64b3430b42a2efa0
libbb: constify *bb_common_bufsiz1 (if it is compiled to be a pointer)

This lets gcc optimize much better:

   text    data     bss     dec     hex filename
 922846     910   13056  936812   e4b6c busybox_unstripped.nonconst
 920255     910   13056  934221   e414d busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/common_bufsiz.c
scripts/generate_BUFSIZ.sh