From 2ca6c07db24fb6760ac38e3c7d45ee7b6c07f24e Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sat, 24 Feb 2024 12:32:51 -0800 Subject: [PATCH] compat: drop inclusion of These two header files are included from ordinary source files that already include as the first header file as they should. There is no need to include the compat-util in these headers. "make hdr-check" is not affected, as it is designed to assume that what offers is available to everybody without being included. Signed-off-by: Junio C Hamano --- compat/compiler.h | 1 - compat/disk.h | 1 - 2 files changed, 2 deletions(-) diff --git a/compat/compiler.h b/compat/compiler.h index 10dbb65937..e9ad9db84f 100644 --- a/compat/compiler.h +++ b/compat/compiler.h @@ -1,7 +1,6 @@ #ifndef COMPILER_H #define COMPILER_H -#include "git-compat-util.h" #include "strbuf.h" #ifdef __GLIBC__ diff --git a/compat/disk.h b/compat/disk.h index 6c979c27d8..23bc1bef86 100644 --- a/compat/disk.h +++ b/compat/disk.h @@ -1,7 +1,6 @@ #ifndef COMPAT_DISK_H #define COMPAT_DISK_H -#include "git-compat-util.h" #include "abspath.h" #include "gettext.h"