summaryrefslogtreecommitdiffstats
path: root/src/basic/os-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-09-08 13:37:52 +0200
committerLennart Poettering <lennart@poettering.net>2023-09-08 14:19:45 +0200
commitc9e120e06f929d8f4bbc4faaf87d641c6938dc08 (patch)
treeedf805cdf2199496f3854a1118f0013bc99279ac /src/basic/os-util.c
parentMerge pull request #29123 from yuwata/conf-parser-cleanups-for-config-section (diff)
downloadsystemd-c9e120e06f929d8f4bbc4faaf87d641c6938dc08.tar.xz
systemd-c9e120e06f929d8f4bbc4faaf87d641c6938dc08.zip
manager: move various fields that declare unit defaults into a new structure UnitDefaults
This adds a new structure UnitDefaults which embedds the various default settings for units we maintain. We so far maintained two sets of variables for this, one in main.c as static variables and one in the Manager structure. This moves them into a common structure. This is most just search/replace, i.e. very dumb refactoring. The fact that we now use a common structure for this allows us further refactorings later. Inspired by the discussions on #27890
Diffstat (limited to 'src/basic/os-util.c')
0 files changed, 0 insertions, 0 deletions