diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-05-05 14:33:28 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-06 12:56:02 +0900 |
commit | b65528360f1153c2f912d272cce18abe56e25562 (patch) | |
tree | c8285d6d5998ed4f86dfa3a2c4a5839dc05cca87 /progress.h | |
parent | Git 2.31.1 (diff) | |
download | tgif-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 'progress.h')
0 files changed, 0 insertions, 0 deletions