X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fdbus-device.h;h=4aff226ab26c806e6c790dca8faa9a92411484bb;hp=068adee5b89841bd533f6373ce1f251c2af7d6a7;hb=82a2b6bb5e4e5d294f09af778c48974a7857afb6;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8 diff --git a/src/core/dbus-device.h b/src/core/dbus-device.h index 068adee5b..4aff226ab 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,7 @@ along with systemd; If not, see . ***/ -#include - +#include "sd-bus.h" #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[];