applied xresources
[slock.git] / util.h
diff --git a/util.h b/util.h
index 6f748b8..148dbc1 100644 (file)
--- a/util.h
+++ b/util.h
@@ -1,2 +1,5 @@
+/* macros */
+#define LEN(a)                 (sizeof(a) / sizeof(a)[0])
+
 #undef explicit_bzero
 void explicit_bzero(void *, size_t);