diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-11 17:25:35 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-11 18:31:49 +0200 |
commit | 5269eb6b32f662d21638e54bb13171a5b97fe58f (patch) | |
tree | f9dfe224ed1c863bbbb22840cf1a40ce6d89906b /src/core/manager.h | |
parent | aa36007ca18ece54495d108332ed21b4bf918f3b (diff) |
core: allocate sets of startup and failed units on-demand
There's a good chance we never needs these sets, hence allocate them
only when needed.
Diffstat (limited to 'src/core/manager.h')
-rw-r--r-- | src/core/manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/manager.h b/src/core/manager.h index 78a0e50a33..5cf0dbd508 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -369,7 +369,7 @@ const char *manager_get_runtime_prefix(Manager *m); ManagerState manager_state(Manager *m); -void manager_update_failed_units(Manager *m, Unit *u, bool failed); +int manager_update_failed_units(Manager *m, Unit *u, bool failed); const char *manager_state_to_string(ManagerState m) _const_; ManagerState manager_state_from_string(const char *s) _pure_; |