X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-automount.h;h=a2b124d756ed2898248114e600d7f8507772003b;hb=340a1d2330ddc1dd18ad75bcdddf32f63c84b4a1;hp=6849244b43bfd2fdf73a866d2b868289eab80545;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git
diff --git a/src/core/dbus-automount.h b/src/core/dbus-automount.h
index 6849244b4..a2b124d75 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,5 @@
along with systemd; If not, see .
***/
-#include
-#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[];