From 873a70d28ab2ef7504728acc4fffb13b5e0fc118 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Sat, 6 Sep 2025 17:24:45 +0200 Subject: [PATCH] mount-util: drop now unused _cleanup_endmntent_ --- src/shared/mount-util.h | 5 ----- 1 file changed, 5 deletions(-) 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,