Skip to content

Commit 2ca6c07

Browse files
committed
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 <[email protected]>
1 parent 0d464a4 commit 2ca6c07

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

compat/compiler.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#ifndef COMPILER_H
22
#define COMPILER_H
33

4-
#include "git-compat-util.h"
54
#include "strbuf.h"
65

76
#ifdef __GLIBC__

compat/disk.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#ifndef COMPAT_DISK_H
22
#define COMPAT_DISK_H
33

4-
#include "git-compat-util.h"
54
#include "abspath.h"
65
#include "gettext.h"
76

0 commit comments

Comments
 (0)