]> git.ozlabs.org Git - petitboot/blob - array-size/array-size.h
discover/grub2: Allow to separate the --id argument using a space char
[petitboot] / array-size / array-size.h
1 #ifndef ARRAY_SIZE_H
2 #define ARRAY_SIZE_H
3
4 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
5
6 #endif /* ARRAY_SIZE_H */
7