]> git.ipfire.org Git - thirdparty/hostap.git/commit
Introduce ARRAY_SIZE() macro
authorJouni Malinen <j@w1.fi>
Sat, 26 Oct 2013 14:00:01 +0000 (17:00 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 26 Oct 2013 14:49:00 +0000 (17:49 +0300)
commit39044a703348e50d9d35053baf1b9ba3f53efdbf
tree8347185e6c6cc602f7c8d2da3037dc3b515d04bc
parent2e946249b1f603ea31cc5609800797829d17fdd7
Introduce ARRAY_SIZE() macro

This can be used to clean up the common sizeof(a)/sizeof(a[0])
constructions to use a more readable version.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/utils/common.h