]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/unit.c
unit: move unit_warn_if_dir_nonempty() and friend to unit.c
authorLennart Poettering <lennart@poettering.net>
Mon, 11 May 2015 20:28:52 +0000 (22:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 May 2015 20:28:52 +0000 (22:28 +0200)
commit8b4305c7354f572fa0390b7580ba30af741aa0a5
treeed8f076f3f2104a82d8b88713b349ff0c1043b3d
parentf2341e0a87cab1558c84c933956e9181d5fb6c52
unit: move unit_warn_if_dir_nonempty() and friend to unit.c

The call is only used by the mount and automount unit types, but that's
already enough to consider it generic unit functionality, hence move it
out of mount.c and into unit.c.
src/core/mount.c
src/core/mount.h
src/core/unit.c
src/core/unit.h