X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-path.h;h=667da052234cbe0c400b8f86e81e99445489f783;hb=d38f6e34a618e2d100b06888e0810f776eb83510;hp=db2d5b9161a28f998432a25fb058162b073fad1b;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git
diff --git a/src/core/dbus-path.h b/src/core/dbus-path.h
index db2d5b916..667da0522 100644
--- a/src/core/dbus-path.h
+++ b/src/core/dbus-path.h
@@ -1,7 +1,6 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foodbuspathhfoo
-#define foodbuspathhfoo
+#pragma once
/***
This file is part of systemd.
@@ -22,14 +21,7 @@
along with systemd; If not, see .
***/
-#include
-#include "unit.h"
+#include "sd-bus.h"
-DBusHandlerResult bus_path_message_handler(Unit *u, DBusConnection *c, DBusMessage *message);
-
-extern const char bus_path_interface[];
-
-extern const char bus_path_invalidating_properties[];
-
-#endif
+extern const sd_bus_vtable bus_path_vtable[];