diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2013-03-02 22:31:09 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2013-03-13 17:21:53 +0100 |
commit | 814cc562121270e2d5de0630b773792c74990a9c (patch) | |
tree | b876a03c864b775b4926c20d5a6032d6a584f8ba /src/core/unit.h | |
parent | 6282c859bdc6463cb25734dcfd3cf8628d951088 (diff) |
core: single unit_kill implementation for all unit types
There are very few differences in the implementations of the kill method in the
unit types that have one. Let's unify them.
This does not yet unify unit_kill() with unit_kill_context().
Diffstat (limited to 'src/core/unit.h')
-rw-r--r-- | src/core/unit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/unit.h b/src/core/unit.h index 9029d6225b..3da6a50da9 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -486,6 +486,7 @@ int unit_stop(Unit *u); int unit_reload(Unit *u); int unit_kill(Unit *u, KillWho w, int signo, DBusError *error); +int unit_kill_common(Unit *u, KillWho who, int signo, pid_t main_pid, pid_t control_pid, DBusError *error); void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_success); |