X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-messages.h;fp=src%2Fsystemd%2Fsd-messages.h;h=947bd1a9e51906b3aa997bc6356c9eb22b53fe97;hb=0095c45415ad24338342369d76d5635088294eae;hp=775aa23c03e4f53320d998b263bc3bb3edee3481;hpb=1ec6af16f501a6e281fe5604d4be8380bad38646;p=elogind.git diff --git a/src/systemd/sd-messages.h b/src/systemd/sd-messages.h index 775aa23c0..947bd1a9e 100644 --- a/src/systemd/sd-messages.h +++ b/src/systemd/sd-messages.h @@ -23,10 +23,9 @@ ***/ #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