X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-timer.h;h=ddd311c626ca2ab7663e5782cc61c5feaf979302;hb=08c6f819cb0ed435649583da02fa0de965b32dbe;hp=daa26c8512a1d65e91d6c0cd25308b39f3d02316;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git diff --git a/src/core/dbus-timer.h b/src/core/dbus-timer.h index daa26c851..ddd311c62 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,7 @@ 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[]; +extern const char* const bus_timer_changing_properties[];