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>
Junio C Hamano committed
Feb 24, 2024 at 12:32 UTC
2ca6c07db24fb6760ac38e3c7d45ee7b6c07f24e
2 files changed
-2
compat/compiler.h
-1
@@ -1,7 +1,6 @@
1
#ifndef COMPILER_H
2
#define COMPILER_H
3
4
-#include "git-compat-util.h"
4
#include "strbuf.h"
5
6
#ifdef __GLIBC__
compat/disk.h
-1
@@ -1,7 +1,6 @@
1
#ifndef COMPAT_DISK_H
2
#define COMPAT_DISK_H
3
4
-#include "git-compat-util.h"
4
#include "abspath.h"
5
#include "gettext.h"
6