unit: rename BindTo= to BindsTo=

all other dependencies are in 3rd person. Change BindTo= accordingly to
BindsTo=.

Of course, the dependency is widely used, hence we parse the old name
too for compatibility.
This commit is contained in:
Lennart Poettering
2012-07-13 23:34:40 +02:00
parent 976c46f84f
commit 7f2cddae09
15 changed files with 38 additions and 39 deletions
+4 -4
View File
@@ -76,13 +76,13 @@ enum UnitDependency {
UNIT_REQUISITE,
UNIT_REQUISITE_OVERRIDABLE,
UNIT_WANTS,
UNIT_BIND_TO,
UNIT_BINDS_TO,
/* Inverse of the above */
UNIT_REQUIRED_BY, /* inverse of 'requires' and 'requisite' is 'required_by' */
UNIT_REQUIRED_BY_OVERRIDABLE, /* inverse of 'requires_overridable' and 'requisite_overridable' is 'soft_required_by' */
UNIT_WANTED_BY, /* inverse of 'wants' */
UNIT_BOUND_BY, /* inverse of 'bind_to' */
UNIT_BOUND_BY, /* inverse of 'binds_to' */
/* Negative dependencies */
UNIT_CONFLICTS, /* inverse of 'conflicts' is 'conflicted_by' */
@@ -100,8 +100,8 @@ enum UnitDependency {
UNIT_TRIGGERED_BY,
/* Propagate reloads */
UNIT_PROPAGATE_RELOAD_TO,
UNIT_PROPAGATE_RELOAD_FROM,
UNIT_PROPAGATES_RELOAD_TO,
UNIT_RELOAD_PROPAGATED_FROM,
/* Reference information for GC logic */
UNIT_REFERENCES, /* Inverse of 'references' is 'referenced_by' */