X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsystemd%2Fsd-id128.h;h=fa17be84347815de3e15079400b9f4ecaec1b184;hp=05521ae4bbed646e1cf9a13a2051dce268545fb8;hb=1ca6783f5ea3755bd83e723f529c2eda512c7fed;hpb=c0735bb2183493147c17a509ec8038bced5d35c9 diff --git a/src/systemd/sd-id128.h b/src/systemd/sd-id128.h index 05521ae4b..fa17be843 100644 --- a/src/systemd/sd-id128.h +++ b/src/systemd/sd-id128.h @@ -65,6 +65,7 @@ static inline int sd_id128_equal(sd_id128_t a, sd_id128_t b) { } #define SD_ID128_NULL ((sd_id128_t) { .qwords = { 0, 0 }}) +#define MESSAGE_ID(x) "MESSAGE_ID=" SD_ID128_FORMAT_STR, SD_ID128_FORMAT_VAL(x) #ifdef __cplusplus }