summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
new file mode 100644
index 0000000..15b2323
--- /dev/null
+++ b/src/util.h
@@ -0,0 +1,7 @@
+#ifndef _UTIL_H_
+#define _UTIL_H_
+
+#define lenghtof(arr) (sizeof(arr) / sizeof(*arr))
+#define todo() warn("%s unimplemented.", __func__)
+
+#endif