aboutsummaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc.h b/misc.h
new file mode 100644
index 0000000..3050bab
--- /dev/null
+++ b/misc.h
@@ -0,0 +1 @@
#define lenof(x) (sizeof(x)/sizeof(*(x)))