From 814cc562121270e2d5de0630b773792c74990a9c Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Sat, 2 Mar 2013 22:31:09 +0100 Subject: 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(). --- src/core/unit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/unit.h') 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); -- cgit v1.2.3-54-g00ecf