X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-bus-protocol.h;h=07fade6039459adce079cff516d46c475115e84c;hb=0095c45415ad24338342369d76d5635088294eae;hp=ff2bcc93b8792633764f8addf6bae4f76c87bec7;hpb=1ec6af16f501a6e281fe5604d4be8380bad38646;p=elogind.git diff --git a/src/systemd/sd-bus-protocol.h b/src/systemd/sd-bus-protocol.h index ff2bcc93b..07fade603 100644 --- a/src/systemd/sd-bus-protocol.h +++ b/src/systemd/sd-bus-protocol.h @@ -24,9 +24,9 @@ #include -#ifdef __cplusplus -extern "C" { -#endif +#include "_sd-common.h" + +_SD_BEGIN_DECLARATIONS; /* Types of message */ @@ -213,8 +213,6 @@ enum { #define SD_BUS_ERROR_INVALID_SIGNATURE "org.freedesktop.DBus.Error.InvalidSignature" #define SD_BUS_ERROR_INCONSISTENT_MESSAGE "org.freedesktop.DBus.Error.InconsistentMessage" -#ifdef __cplusplus -} -#endif +_SD_END_DECLARATIONS; #endif