aboutsummaryrefslogtreecommitdiffstats
path: root/nelem.h
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-10-27 12:41:58 +0100
committerTomasz Kramkowski <tk@the-tk.com>2018-10-27 12:47:05 +0100
commitd3f47e042aebd5fbf86477abf7058704657e8430 (patch)
tree4996f0c46f7ebf5037ee7fecceb161bbeb4e549e /nelem.h
parentadbc72e159d48e6b1ad091e6ac19fd1cd6d5f798 (diff)
downloadfaqe-d3f47e042aebd5fbf86477abf7058704657e8430.tar.gz
faqe-d3f47e042aebd5fbf86477abf7058704657e8430.tar.xz
faqe-d3f47e042aebd5fbf86477abf7058704657e8430.zip
Cleanup pass
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