X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fsystemd%2Fsd-messages.h;h=947bd1a9e51906b3aa997bc6356c9eb22b53fe97;hb=821e0756c62d705252ab13d24af941578c0b9642;hp=c811a064e3cffeec44e92842b31f37a41551b679;hpb=670b110c3b59dfa335ac43065b2038400d1d04a9;p=elogind.git 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