diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-10 20:36:37 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-10 21:03:49 +0100 |
commit | ba64af90ecf48f7653a04bf3af1291385c9a69b8 (patch) | |
tree | 855c8d714b9bbaf40a3af73c1341b6553f35c19e /src/core/unit.h | |
parent | 1e603a482f57edb1fb863dbf23b868cf5854e004 (diff) |
core: change return value of the unit's enumerate() call to void
We cannot handle enumeration failures in a sensible way, hence let's try
hard to continue without making such failures fatal, and log about it
with precise error messages.
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 6f775c5ce1..eb2af229b5 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -389,7 +389,7 @@ struct UnitVTable { * everything that is loaded here should still stay in * inactive state. It is the job of the coldplug() call above * to put the units into the initial state. */ - int (*enumerate)(Manager *m); + void (*enumerate)(Manager *m); /* Type specific cleanups. */ void (*shutdown)(Manager *m); |