summaryrefslogtreecommitdiffstats
path: root/lib/arrlen.h
blob: fdc553239862fc39677c2a3b8b241ae0226913c2 (plain)
1
2
3
4
5
6
#ifndef LIB_ARRLEN_H
#define LIB_ARRLEN_H

#define ARRLEN(a) (sizeof (a) / sizeof (a)[0])

#endif /* LIB_ARRLEN_H */