diff options
author | Elijah Newren <newren@gmail.com> | 2023-02-24 01:09:23 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-24 02:25:28 +0100 |
commit | 15db4e7f4ac20cc41902a2479c7784fff8edf2e9 (patch) | |
tree | 041fdf546a331a01315c23ea633d1bd5a1ac99a2 /unix-stream-server.c | |
parent | treewide: remove unnecessary cache.h includes (diff) | |
download | git-15db4e7f4ac20cc41902a2479c7784fff8edf2e9.tar.xz git-15db4e7f4ac20cc41902a2479c7784fff8edf2e9.zip |
treewide: remove unnecessary cache.h includes in source files
We had several C files include cache.h unnecessarily. Replace those
with an include of "git-compat-util.h" instead. Much like the previous
commit, these have all been verified via both ensuring that
gcc -E $SOURCE_FILE | grep '"cache.h"'
found no hits and that
make DEVELOPER=1 ${OBJECT_FILE_FOR_SOURCE_FILE}
successfully compiles without warnings.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unix-stream-server.c')
-rw-r--r-- | unix-stream-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix-stream-server.c b/unix-stream-server.c index efa2a207ab..22ac2373e0 100644 --- a/unix-stream-server.c +++ b/unix-stream-server.c @@ -1,4 +1,4 @@ -#include "cache.h" +#include "git-compat-util.h" #include "lockfile.h" #include "unix-socket.h" #include "unix-stream-server.h" |