X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-device.h;h=4aff226ab26c806e6c790dca8faa9a92411484bb;hb=9ceefc810f86026fd9c97ac89d9d1898f8482d89;hp=068adee5b89841bd533f6373ce1f251c2af7d6a7;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git
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[];