X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-timer.h;h=cfff88e8b70a3b78da0cd232447db1068511e57a;hb=06beed6dc6abeb392b3e2ca8c46fa3169616651e;hp=daa26c8512a1d65e91d6c0cd25308b39f3d02316;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git
diff --git a/src/core/dbus-timer.h b/src/core/dbus-timer.h
index daa26c851..cfff88e8b 100644
--- a/src/core/dbus-timer.h
+++ b/src/core/dbus-timer.h
@@ -1,7 +1,6 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foodbustimerhfoo
-#define foodbustimerhfoo
+#pragma once
/***
This file is part of systemd.
@@ -22,13 +21,6 @@
along with systemd; If not, see .
***/
-#include
+#include "sd-bus.h"
-#include "unit.h"
-
-DBusHandlerResult bus_timer_message_handler(Unit *u, DBusConnection *c, DBusMessage *message);
-
-extern const char bus_timer_interface[];
-extern const char bus_timer_invalidating_properties[];
-
-#endif
+extern const sd_bus_vtable bus_timer_vtable[];