]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/mount.c
core: simplify things a bit by checking default_dependencies boolean in callee, not...
authorLennart Poettering <lennart@poettering.net>
Wed, 11 Nov 2015 19:42:39 +0000 (20:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 11 Nov 2015 19:42:39 +0000 (20:42 +0100)
commit4c9ea260aeaff2e837f543e3c42d2e7102af1137
treee1e6a1f6cbcb1a11c3eda17376e52fd401fcf8f9
parent45f06b3450174a9649a51a0b48fdbbbe98f2bb5d
core: simplify things a bit by checking default_dependencies boolean in callee, not caller

It's nicer to hide the check away in the various
xyz_add_default_dependencies() calls, rather than making it explicit in
the caller, and thus require deeper nesing.
src/core/automount.c
src/core/mount.c
src/core/path.c
src/core/scope.c
src/core/slice.c
src/core/socket.c
src/core/swap.c
src/core/timer.c