diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-02-24 12:32:51 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-02-24 14:37:41 -0800 |
| commit | 2ca6c07db24fb6760ac38e3c7d45ee7b6c07f24e (patch) | |
| tree | 7a75974f622e1cccc7f699e43ed4a770ff2e55ff | |
| parent | Git 2.43.3 (diff) | |
| download | git-2ca6c07db24fb6760ac38e3c7d45ee7b6c07f24e.tar.gz git-2ca6c07db24fb6760ac38e3c7d45ee7b6c07f24e.zip | |
compat: drop inclusion of <git-compat-util.h>
These two header files are included from ordinary source files that
already include <git-compat-util.h> 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 <git-compat-util.h> offers is available to everybody without
being included.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| -rw-r--r-- | compat/compiler.h | 1 | ||||
| -rw-r--r-- | compat/disk.h | 1 |
2 files changed, 0 insertions, 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" |
