X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fdbus-automount.h;h=1bec95378801bd2b1c02dd97d5c4c435056b334b;hp=6849244b43bfd2fdf73a866d2b868289eab80545;hb=ed6d629a3487105e31415db9e175dd698ac20125;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8 diff --git a/src/core/dbus-automount.h b/src/core/dbus-automount.h index 6849244b4..1bec95378 100644 --- a/src/core/dbus-automount.h +++ b/src/core/dbus-automount.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef foodbusautomounthfoo -#define foodbusautomounthfoo +#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_automount_message_handler(Unit *u, DBusConnection *c, DBusMessage *message); - -extern const char bus_automount_interface[]; -extern const char bus_automount_invalidating_properties[]; - -#endif +extern const sd_bus_vtable bus_automount_vtable[];