summaryrefslogtreecommitdiff
path: root/src/basic/unit-def.c
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2018-10-24 08:22:22 +0200
committerSven Eden <sven.eden@prydeworx.com>2018-11-08 08:02:57 +0100
commit0f0857b9478c382b392cdf970e4d188df8b0da9c (patch)
treecb94ededf77a7a395ca43864f07fc485946d6469 /src/basic/unit-def.c
parent18924a1e18b3c6159bf49a364e8bc339bb5175ae (diff)
Prep v240: Cleanup empty mask blocks and unused functions.
Diffstat (limited to 'src/basic/unit-def.c')
-rw-r--r--src/basic/unit-def.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/unit-def.c b/src/basic/unit-def.c
index ac6a9b37e..2987a173d 100644
--- a/src/basic/unit-def.c
+++ b/src/basic/unit-def.c
@@ -34,6 +34,7 @@ int unit_name_from_dbus_path(const char *path, char **name) {
return 0;
}
+#if 0 /// elogind does not support systemd units
const char* unit_dbus_interface_from_type(UnitType t) {
static const char *const table[_UNIT_TYPE_MAX] = {
@@ -67,6 +68,7 @@ const char *unit_dbus_interface_from_name(const char *name) {
return unit_dbus_interface_from_type(t);
}
+#endif // 0
static const char* const unit_type_table[_UNIT_TYPE_MAX] = {
[UNIT_SERVICE] = "service",