chiark / gitweb /
journal: don't export MESSAGE_ID() macro
[elogind.git] / src / systemd / sd-id128.h
index 126d83ce8a87409d57ee93ae1a29a2fdf1ccb061..05521ae4bbed646e1cf9a13a2051dce268545fb8 100644 (file)
@@ -64,6 +64,8 @@ static inline int sd_id128_equal(sd_id128_t a, sd_id128_t b) {
         return memcmp(&a, &b, 16) == 0;
 }
 
+#define SD_ID128_NULL ((sd_id128_t) { .qwords = { 0, 0 }})
+
 #ifdef __cplusplus
 }
 #endif