[LinuxBIOS] [PATCH] v3: Add ARRAY_SIZE macro

Stefan Reinauer stepan at coresystems.de
Fri Jun 29 16:42:35 CEST 2007


* Uwe Hermann <uwe at hermann-uwe.de> [070629 15:04]:
> See patch.
> 
> Uwe.
> -- 
> http://www.hermann-uwe.de  | http://www.holsham-traders.de
> http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

> Add an ARRAY_SIZE() macro which returns the size of an array, regardless
> of the data types of the individual array elements.
> 
> The macro is defined in lib.h, so code which uses it must include lib.h.
> 
> Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>

Acked-by: Stefan Reinauer <stepan at coresystems.de>


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/




More information about the coreboot mailing list