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=e7176abbe818c75c6acd90227a7a84c3e05fee31;hp=ff2bcc93b8792633764f8addf6bae4f76c87bec7;hpb=40ca29a1370379d43e44c0ed425eecc7218dcbca;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