diff --git a/src/shared/mount-util.h b/src/shared/mount-util.h index 3140762498..e45139dcf3 100644 --- a/src/shared/mount-util.h +++ b/src/shared/mount-util.h @@ -1,8 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -#include - #include "forward.h" typedef struct SubMount { @@ -37,9 +35,6 @@ static inline int mount_switch_root(const char *path, unsigned long mount_propag return mount_switch_root_full(path, mount_propagation_flag, false); } -DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, endmntent, NULL); -#define _cleanup_endmntent_ _cleanup_(endmntentp) - int mount_verbose_full( int error_log_level, const char *what,