summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-16 13:31:06 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-16 13:31:06 +0100
commit5e46f37f059eec10779886b55445e05cdfbfbe65 (patch)
treef4a026218a076be9f1993c940a2f9eb20811b5e3 /util.h
parentd1f03eeb3e2a39b0386c9d17845dcfc1ec1cea38 (diff)
Apply xresources patch
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);