chiark / gitweb /
core: replace OnFailureIsolate= setting by a more generic OnFailureJobMode= setting...
[elogind.git] / src / systemd / sd-bus-vtable.h
index d1642bae5ec69fae0fc41bb8d74f55c1bf2d71ca..18fc30bd209f8ddd34c3bf799394744c52800724 100644 (file)
@@ -22,9 +22,9 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#ifdef __cplusplus
-extern "C" {
-#endif
+#include "_sd-common.h"
+
+_SD_BEGIN_DECLARATIONS;
 
 typedef struct sd_bus_vtable sd_bus_vtable;
 
@@ -128,8 +128,6 @@ struct sd_bus_vtable {
                 .type = _SD_BUS_VTABLE_END,                             \
         }
 
-#ifdef __cplusplus
-}
-#endif
+_SD_END_DECLARATIONS;
 
 #endif