X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsystemd%2Fsd-id128.h;h=05521ae4bbed646e1cf9a13a2051dce268545fb8;hp=126d83ce8a87409d57ee93ae1a29a2fdf1ccb061;hb=706911fba8d071449848f02516eef117277ff48b;hpb=877d54e9b09e093c2102f519a84e2a52637ae035 diff --git a/src/systemd/sd-id128.h b/src/systemd/sd-id128.h index 126d83ce8..05521ae4b 100644 --- a/src/systemd/sd-id128.h +++ b/src/systemd/sd-id128.h @@ -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