From 64502126e126476456ca2aa60b4f798ed2d0b879 Mon Sep 17 00:00:00 2001 From: Faraz Vahedi Date: Tue, 26 May 2026 09:36:52 +0330 Subject: [PATCH] mdmfs: Use standard bool definition Include `` instead of defining a local bool enum. This avoids duplicating a standard type name and keeps the source compatible with headers that provide bool as a macro, or in case of C23 that compilers provide it as keyword. Signed-off-by: Faraz Vahedi Reviewed by: fuz MFC after: 1 month Pull Request: https://github.com/freebsd/freebsd-src/pull/2203 --- sbin/mdmfs/mdmfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sbin/mdmfs/mdmfs.c b/sbin/mdmfs/mdmfs.c index cd0bf7c9614..c86a098a892 100644 --- a/sbin/mdmfs/mdmfs.c +++ b/sbin/mdmfs/mdmfs.c @@ -49,14 +49,13 @@ #include #include #include +#include #include #include #include #include #include -typedef enum { false, true } bool; - struct mtpt_info { uid_t mi_uid; bool mi_have_uid;