From: Junio C Hamano Date: Sat, 24 Feb 2024 20:32:51 +0000 (-0800) Subject: compat: drop inclusion of X-Git-Tag: v2.45.0-rc0~145^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ca6c07db24fb6760ac38e3c7d45ee7b6c07f24e;p=thirdparty%2Fgit.git 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 --- 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"