X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsystemd%2Fsd-messages.h;h=947bd1a9e51906b3aa997bc6356c9eb22b53fe97;hp=c811a064e3cffeec44e92842b31f37a41551b679;hb=3fa5dd6de798e17d93531bc900b8e2dc587c38f3;hpb=670b110c3b59dfa335ac43065b2038400d1d04a9 diff --git a/src/systemd/sd-messages.h b/src/systemd/sd-messages.h index c811a064e..947bd1a9e 100644 --- a/src/systemd/sd-messages.h +++ b/src/systemd/sd-messages.h @@ -22,11 +22,10 @@ along with systemd; If not, see . ***/ -#include +#include "sd-id128.h" +#include "_sd-common.h" -#ifdef __cplusplus -extern "C" { -#endif +_SD_BEGIN_DECLARATIONS; /* Hey! If you add a new message here, you *must* also update the * message catalog with an appropriate explanation */ @@ -84,8 +83,6 @@ extern "C" { #define SD_MESSAGE_BOOTCHART SD_ID128_MAKE(9f,26,aa,56,2c,f4,40,c2,b1,6c,77,3d,04,79,b5,18) -#ifdef __cplusplus -} -#endif +_SD_END_DECLARATIONS; #endif