chiark / gitweb /
core: single unit_kill implementation for all unit types
authorMichal Schmidt <mschmidt@redhat.com>
Sat, 2 Mar 2013 21:31:09 +0000 (22:31 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Wed, 13 Mar 2013 16:21:53 +0000 (17:21 +0100)
commit814cc562121270e2d5de0630b773792c74990a9c
treeb876a03c864b775b4926c20d5a6032d6a584f8ba
parent6282c859bdc6463cb25734dcfd3cf8628d951088
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/mount.c
src/core/service.c
src/core/socket.c
src/core/swap.c
src/core/unit.c
src/core/unit.h