diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-10 20:42:58 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-10 21:03:49 +0100 |
commit | 9ff1a6f1d61d4569920d5b75c88cf1c2ad9adaae (patch) | |
tree | e96308b84a66e5d1bebac24ac5d98c8bcd627692 /src/core/unit.h | |
parent | 5a6158b6412100672e1cbddb22efdcc5101fed7f (diff) |
core: change type of distribute_fds() prototype to return void
We can't handle errors of thisc all sanely anyway, and we never actually
return any errors from the unit type that implements the call. Hence,
let's make this void, in order to simplify things.
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 eb2af229b5..03d7d8de7f 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -322,7 +322,7 @@ struct UnitVTable { int (*deserialize_item)(Unit *u, const char *key, const char *data, FDSet *fds); /* Try to match up fds with what we need for this unit */ - int (*distribute_fds)(Unit *u, FDSet *fds); + void (*distribute_fds)(Unit *u, FDSet *fds); /* Boils down the more complex internal state of this unit to * a simpler one that the engine can understand */ |