summaryrefslogtreecommitdiff
path: root/src/core/socket.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-11-17 16:43:08 +0100
committerLennart Poettering <lennart@poettering.net>2017-11-21 11:54:08 +0100
commit3c7416b6cae1006388755598415e1139727b926a (patch)
treedfe4bf644447a413011162c0d918ccd5bb4a1eda /src/core/socket.h
parent6925a0de4eaf181c08d7380249461abe5c42fe3f (diff)
downloadsystemd-3c7416b6cae1006388755598415e1139727b926a.tar.gz
core: unify common code for preparing for forking off unit processes
This introduces a new function unit_prepare_exec() that encapsulates a number of calls we do in preparation for spawning off some processes in all our unit types that do so. This allows us to neatly unify a bit of code between unit types and shorten our code.
Diffstat (limited to 'src/core/socket.h')
-rw-r--r--src/core/socket.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/socket.h b/src/core/socket.h
index 81cfc97578..e9e560e57e 100644
--- a/src/core/socket.h
+++ b/src/core/socket.h
@@ -162,8 +162,6 @@ struct Socket {
char *user, *group;
- bool reset_accounting:1;
-
char *fdname;
RateLimit trigger_limit;