chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
journal: don't export MESSAGE_ID() macro
[elogind.git]
/
src
/
systemd
/
sd-id128.h
diff --git
a/src/systemd/sd-id128.h
b/src/systemd/sd-id128.h
index 126d83ce8a87409d57ee93ae1a29a2fdf1ccb061..05521ae4bbed646e1cf9a13a2051dce268545fb8 100644
(file)
--- 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