1 #ifndef _COUNTOF_H_ 2 #define _COUNTOF_H_ 3 4 #define countof(a) (sizeof(a) / sizeof(a[0])) 5 6 #endif 7