summaryrefslogtreecommitdiff
path: root/lib/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common.h')
-rw-r--r--lib/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/common.h b/lib/common.h
new file mode 100644
index 0000000..d6d8816
--- /dev/null
+++ b/lib/common.h
@@ -0,0 +1 @@
+#define LENGTH(x) (sizeof(x) / sizeof(x[0]))