
22 Jan
2018
22 Jan
'18
5:15 p.m.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> --- src/util.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util.h b/src/util.h index 0c9f3d7..6d99841 100644 --- a/src/util.h +++ b/src/util.h @@ -8,6 +8,8 @@ #define _cleanup_(_x) __attribute__((__cleanup__(_x))) #define VIR_ATTR_UNUSED __attribute__((__unused__)) +#define VIRT_ARRAY_CARDINALITY(array) (sizeof(array) / sizeof(*(array))) + int virtDBusUtilMessageAppendTypedParameters(sd_bus_message *message, -- 2.14.3