X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fdbus-timer.h;h=cfff88e8b70a3b78da0cd232447db1068511e57a;hp=daa26c8512a1d65e91d6c0cd25308b39f3d02316;hb=90c3f79dc74229134818e78cb97d315e28ee93b5;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8 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[];