Douglas B. Rumbaugh
Blog
Publications
Conferences
Vitae
Links
Git
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
util.h
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'util.h')
-rw-r--r--
util.h
3
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);