diff options
author | Franck Bui <fbui@suse.com> | 2019-10-28 18:50:43 +0100 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2019-10-28 18:51:23 +0100 |
commit | d336ba9fa6ac2a70202e6887c4ac52185bca0a50 (patch) | |
tree | 9369672901001c8d75b054fadc7efccae492c10b /src/core/unit.h | |
parent | 9b88bb5023dfa3cea406c14fdaa3d8e3e320907a (diff) | |
download | systemd-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.h | 2 |
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); |