object-store: move function declarations to their respective subsystems

We carry declarations for a couple of functions in "object-store.h" that
are not defined in "object-store.c", but in a different subsystem. Move
these declarations to the respective headers whose matching code files
carry the corresponding definition.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Patrick Steinhardt
2025-04-29 09:52:18 +02:00
committed by Junio C Hamano
parent 0b8ed25b66
commit 1a793261c5
12 changed files with 106 additions and 103 deletions

2
dir.c
View File

@@ -17,7 +17,7 @@
#include "environment.h"
#include "gettext.h"
#include "name-hash.h"
#include "object-store.h"
#include "object-file.h"
#include "path.h"
#include "refs.h"
#include "repository.h"