summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-05-05 14:33:28 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-05-06 12:56:02 +0900
commitb65528360f1153c2f912d272cce18abe56e25562 (patch)
treec8285d6d5998ed4f86dfa3a2c4a5839dc05cca87 /remote.h
parentGit 2.31.1 (diff)
downloadtgif-b65528360f1153c2f912d272cce18abe56e25562.tar.xz
streaming.c: avoid forward declarations
Change code added in 46bf043807c (streaming: a new API to read from the object store, 2011-05-11) to avoid forward declarations of the functions it uses. We can instead move this code to the bottom of the file, and thus avoid the open_method_decl() calls. Aside from the addition of the "static helpers[...]" comment being added here, and the removal of the forward declarations this is a move-only change. The style of the added "static helpers[...]" comment isn't in line with our usual coding style, but is consistent with several other comments used in this file, so let's use that style consistently here. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.h')
0 files changed, 0 insertions, 0 deletions