diff options
author | Elijah Newren <newren@gmail.com> | 2023-02-24 03:09:22 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-24 04:25:28 +0300 |
commit | ba3d1c73daa02152acf4729d45ca7fe4d71d5747 (patch) | |
tree | 08150fe2c7c6de264cf3e11bda09f027e79f126f /khash.h | |
parent | f332121e75d3aa2b0ce7efd120ac3ede19e9a733 (diff) |
treewide: remove unnecessary cache.h includes
We had several header files include cache.h unnecessarily. Remove
those. These have all been verified via both ensuring that
gcc -E $HEADER | grep '"cache.h"'
found no hits and that
cat >temp.c <<EOF &&
#include "git-compat-util.h"
#include "$HEADER"
int main() {}
EOF
gcc -c temp.c
successfully compiles without warnings.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'khash.h')
-rw-r--r-- | khash.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -26,7 +26,6 @@ #ifndef __AC_KHASH_H #define __AC_KHASH_H -#include "cache.h" #include "hashmap.h" #define AC_VERSION_KHASH_H "0.2.8" |