aboutsummaryrefslogtreecommitdiffstats
path: root/nelem.h
diff options
context:
space:
mode:
Diffstat (limited to 'nelem.h')
-rw-r--r--nelem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nelem.h b/nelem.h
index 108544e..229db4a 100644
--- a/nelem.h
+++ b/nelem.h
@@ -5,6 +5,7 @@
#ifndef NELEM_H
#define NELEM_H
+// NELEM: calculate array element count
#define NELEM(a) (sizeof (a) / sizeof (a)[0])
#endif // NELEM_H