mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
mount-util: drop now unused _cleanup_endmntent_
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
#pragma once
|
||||
|
||||
#include <mntent.h>
|
||||
|
||||
#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,
|
||||
|
||||
Reference in New Issue
Block a user