X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-device.h;h=10e945e40214cc71d49abbc6c471cb1c16b301ce;hb=f5b51ea7fcb0b6380c3ceb4d4f3f22f647c6fd32;hp=068adee5b89841bd533f6373ce1f251c2af7d6a7;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git diff --git a/src/core/dbus-device.h b/src/core/dbus-device.h index 068adee5b..10e945e40 100644 --- a/src/core/dbus-device.h +++ b/src/core/dbus-device.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef foodbusdevicehfoo -#define foodbusdevicehfoo +#pragma once /*** This file is part of systemd. @@ -22,13 +21,6 @@ along with systemd; If not, see . ***/ -#include - #include "unit.h" -DBusHandlerResult bus_device_message_handler(Unit *u, DBusConnection *c, DBusMessage *message); - -extern const char bus_device_interface[]; -extern const char bus_device_invalidating_properties[]; - -#endif +extern const sd_bus_vtable bus_device_vtable[];