From 2625cd704fc3b55a0343c9f7ebd9328528f9dd3a Mon Sep 17 00:00:00 2001 From: Jan Polensky Date: Mon, 29 Sep 2025 15:31:21 +0200 Subject: [PATCH] cpumf/chcpumf: Remove unused header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove lib/util_base.h and errno.h since they are not referenced in this file. Add err.h to explicitly declare the dependency on err() and warn(). Reviewed-by: Jan Höppner Signed-off-by: Jan Polensky Signed-off-by: Jan Höppner --- cpumf/chcpumf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpumf/chcpumf.c b/cpumf/chcpumf.c index ef49366d..62ab3e3c 100644 --- a/cpumf/chcpumf.c +++ b/cpumf/chcpumf.c @@ -7,7 +7,7 @@ * it under the terms of the MIT license. See LICENSE for details. */ -#include +#include #include #include #include @@ -17,7 +17,6 @@ #include #include "lib/libcpumf.h" -#include "lib/util_base.h" #include "lib/util_opt.h" #include "lib/util_path.h" #include "lib/util_prg.h"