diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-05-11 22:28:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-05-11 22:28:52 +0200 |
commit | 8b4305c7354f572fa0390b7580ba30af741aa0a5 (patch) | |
tree | ed8f076f3f2104a82d8b88713b349ff0c1043b3d /src/core/mount.h | |
parent | f2341e0a87cab1558c84c933956e9181d5fb6c52 (diff) |
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.
Diffstat (limited to 'src/core/mount.h')
-rw-r--r-- | src/core/mount.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/mount.h b/src/core/mount.h index 79cdc8dbfc..a01e6da194 100644 --- a/src/core/mount.h +++ b/src/core/mount.h @@ -128,6 +128,3 @@ MountExecCommand mount_exec_command_from_string(const char *s) _pure_; const char* mount_result_to_string(MountResult i) _const_; MountResult mount_result_from_string(const char *s) _pure_; - -void unit_warn_if_dir_nonempty(Unit *u, const char* where); -int unit_fail_if_symlink(Unit *u, const char* where); |