summaryrefslogtreecommitdiff
path: root/slock/util.h
diff options
context:
space:
mode:
authorSoominIm <111330163+SoominIm@users.noreply.github.com>2024-04-06 20:26:03 -0500
committerSoominIm <111330163+SoominIm@users.noreply.github.com>2024-04-06 20:26:03 -0500
commit6b71c978fd56367f0fb339d4039896ed2af0cb0b (patch)
tree86fb89a7c4f5a999752f5a0c95c4c479bdd55f1a /slock/util.h
parent3588cbd9e548351ac37ca8946f93c4603d6b7307 (diff)
Updates dwm, st, dmenu, slock, and dwmblocks
Diffstat (limited to 'slock/util.h')
-rw-r--r--[-rwxr-xr-x]slock/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/slock/util.h b/slock/util.h
index 6f748b8..148dbc1 100755..100644
--- a/slock/util.h
+++ b/slock/util.h
@@ -1,2 +1,5 @@
+/* macros */
+#define LEN(a) (sizeof(a) / sizeof(a)[0])
+
#undef explicit_bzero
void explicit_bzero(void *, size_t);