aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authordavidpkj <davidpenkow1@gmail.com>2022-05-28 22:10:09 +0200
committerdavidpkj <davidpenkow1@gmail.com>2023-08-27 20:54:02 +0200
commit780ec9d1e4e450df2a24cbc517a5462257f5eefe (patch)
treed7965547dc14c47b41b996b504426c3c698f3569 /util.h
parent8c5a66db15f76c0fe156d4b2fc7c00f636092f20 (diff)
slock now colored
Diffstat (limited to 'util.h')
-rw-r--r--util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/util.h b/util.h
index 6f748b8..148dbc1 100644
--- 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);