[patch] use ARRAY_SIZE
walter harms
wharms at bfs.de
Sun Jun 24 11:20:22 UTC 2007
hi list,
here is the ARRAY_SIZE patch. It replaces every size(arr)/size(arr[0])
and private defines with ARRAY_SIZE() as defined in linux/kernel.h.
Sometimes it was used only once so i placed it directly.
I have test-compiled the stuff against 1.6.0 vanilla.
note: i did no bloat check since this is a clean-up patch
re,
wh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ARRAY.diff
Type: text/x-patch
Size: 18825 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070624/a488e03a/attachment-0002.bin
More information about the busybox
mailing list