summaryrefslogtreecommitdiffstats
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-09-15 20:02:00 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-09-15 20:02:00 +0200
commit5a7241708437a7e7cd85383d5a6ea79c3012e8c6 (patch)
treefbc2a2cde901346d5939d7571d216c664b3e4cf8 /src/core/unit.h
parentpid1: drop now-unused path parameter to add_dependency_by_name() (diff)
downloadsystemd-5a7241708437a7e7cd85383d5a6ea79c3012e8c6.tar.xz
systemd-5a7241708437a7e7cd85383d5a6ea79c3012e8c6.zip
pid1: drop unused path parameter to add_two_dependencies_by_name()
Diffstat (limited to 'src/core/unit.h')
-rw-r--r--src/core/unit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/unit.h b/src/core/unit.h
index 8f08a35388..7a2eeb5ce2 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -603,7 +603,7 @@ int unit_add_dependency(Unit *u, UnitDependency d, Unit *other, bool add_referen
int unit_add_two_dependencies(Unit *u, UnitDependency d, UnitDependency e, Unit *other, bool add_reference, UnitDependencyMask mask);
int unit_add_dependency_by_name(Unit *u, UnitDependency d, const char *name, bool add_reference, UnitDependencyMask mask);
-int unit_add_two_dependencies_by_name(Unit *u, UnitDependency d, UnitDependency e, const char *name, const char *path, bool add_reference, UnitDependencyMask mask);
+int unit_add_two_dependencies_by_name(Unit *u, UnitDependency d, UnitDependency e, const char *name, bool add_reference, UnitDependencyMask mask);
int unit_add_exec_dependencies(Unit *u, ExecContext *c);