X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsystemd%2Fsd-messages.h;h=947bd1a9e51906b3aa997bc6356c9eb22b53fe97;hp=2f80749c0f456ad0b6cfb7d4f6842fca447c833a;hb=821e0756c62d705252ab13d24af941578c0b9642;hpb=9444b1f20e311f073864d81e913bd4f32fe95cfd diff --git a/src/systemd/sd-messages.h b/src/systemd/sd-messages.h index 2f80749c0..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 */ @@ -39,6 +38,7 @@ extern "C" { #define SD_MESSAGE_JOURNAL_STOP SD_ID128_MAKE(d9,3f,b3,c9,c2,4d,45,1a,97,ce,a6,15,ce,59,c0,0b) #define SD_MESSAGE_JOURNAL_DROPPED SD_ID128_MAKE(a5,96,d6,fe,7b,fa,49,94,82,8e,72,30,9e,95,d6,1e) #define SD_MESSAGE_JOURNAL_MISSED SD_ID128_MAKE(e9,bf,28,e6,e8,34,48,1b,b6,f4,8f,54,8a,d1,36,06) +#define SD_MESSAGE_JOURNAL_USAGE SD_ID128_MAKE(ec,38,7f,57,7b,84,4b,8f,a9,48,f3,3c,ad,9a,75,e6) #define SD_MESSAGE_COREDUMP SD_ID128_MAKE(fc,2e,22,bc,6e,e6,47,b6,b9,07,29,ab,34,a2,50,b1) @@ -83,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