summaryrefslogtreecommitdiffstats
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2013-03-02 22:31:09 +0100
committerMichal Schmidt <mschmidt@redhat.com>2013-03-13 17:21:53 +0100
commit814cc562121270e2d5de0630b773792c74990a9c (patch)
treeb876a03c864b775b4926c20d5a6032d6a584f8ba /src/core/unit.h
parentutil, manager: and mempset() and use it (diff)
downloadsystemd-814cc562121270e2d5de0630b773792c74990a9c.tar.xz
systemd-814cc562121270e2d5de0630b773792c74990a9c.zip
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 '')
-rw-r--r--src/core/unit.h1
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);