commit 2c564512516f88b09993b2e92637440441650bcc parent 303b26115fa995808b9238f1b4814fd7a7eb2f13 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 25 May 2015 21:27:40 +0200 util.h: add LEN() macro Diffstat:
M | util.h | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/util.h b/util.h @@ -8,6 +8,7 @@ #include "queue.h" #define ISUTF8(c) (((c) & 0xc0) != 0x80) +#define LEN(x) (sizeof (x) / sizeof *(x)) /* feed info */ struct feed {