From 4ebfcc2fdc9a48067a149652b91e6103e1f048c3 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Sun, 19 Dec 2021 23:03:09 -0500 Subject: Applied Xresources patch https://tools.suckless.org/slock/patches/xresources/ --- util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util.h') 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); -- cgit v1.2.3