summaryrefslogtreecommitdiff
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2019-10-28 18:50:43 +0100
committerFranck Bui <fbui@suse.com>2019-10-28 18:51:23 +0100
commitd336ba9fa6ac2a70202e6887c4ac52185bca0a50 (patch)
tree9369672901001c8d75b054fadc7efccae492c10b /src/core/unit.h
parent9b88bb5023dfa3cea406c14fdaa3d8e3e320907a (diff)
downloadsystemd-d336ba9fa6ac2a70202e6887c4ac52185bca0a50.tar.gz
core: drop 'wants' parameter from unit_add_node_dependency()
Since Wants dependency is no more automagically added to swap and mount units, this parameter is no more used hence this patch drops it.
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 5695552471..c5d8170c92 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -733,7 +733,7 @@ int unit_serialize(Unit *u, FILE *f, FDSet *fds, bool serialize_jobs);
int unit_deserialize(Unit *u, FILE *f, FDSet *fds);
int unit_deserialize_skip(FILE *f);
-int unit_add_node_dependency(Unit *u, const char *what, bool wants, UnitDependency d, UnitDependencyMask mask);
+int unit_add_node_dependency(Unit *u, const char *what, UnitDependency d, UnitDependencyMask mask);
int unit_coldplug(Unit *u);
void unit_catchup(Unit *u);