X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-id128.h;h=5bae9655cc1e06a162f5b4f33fc89218bec0b598;hb=0095c45415ad24338342369d76d5635088294eae;hp=6066f395fac043fb87ed7aebec382e865e998d4e;hpb=6695ed7a841faad68df3d5cb466f5e0e01f57536;p=elogind.git diff --git a/src/systemd/sd-id128.h b/src/systemd/sd-id128.h index 6066f395f..5bae9655c 100644 --- a/src/systemd/sd-id128.h +++ b/src/systemd/sd-id128.h @@ -25,9 +25,9 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif +#include "_sd-common.h" + +_SD_BEGIN_DECLARATIONS; /* 128 Bit ID APIs. See sd-id128(3) for more information. */ @@ -102,8 +102,6 @@ static inline int sd_id128_equal(sd_id128_t a, sd_id128_t b) { #define SD_ID128_NULL ((sd_id128_t) { .qwords = { 0, 0 }}) -#ifdef __cplusplus -} -#endif +_SD_END_DECLARATIONS; #endif