ARRAY_SIZE

Denis Vlasenko vda.linux at googlemail.com
Thu Jun 21 20:44:46 UTC 2007


On Thursday 21 June 2007 15:50, walter harms wrote:
> Hi list,
> the kernel janitor were removing different versions of ARRAY_SIZE()
> from the kernel tree. i used the check to look for the same phenomena
> in busybox.
> Since this is not exactly about saving space more about maintaining,
> will such a patch accepted ?

Yes.

I suppose you want to just #define one macro in libbb.h
and convert all other instances.
--
vda



More information about the busybox mailing list