diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-05-05 14:33:30 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-06 12:56:06 +0900 |
commit | bc062ad001f31a466d9aa3987005e34b3d9bbff4 (patch) | |
tree | 8e8bdace5bf383cba6d62a335e6ac525ab7bb0a2 /Documentation/lint-gitlink.perl | |
parent | streaming.c: remove enum/function/vtbl indirection (diff) | |
download | tgif-bc062ad001f31a466d9aa3987005e34b3d9bbff4.tar.xz |
streaming.c: remove {open,close,read}_method_decl() macros
Remove the {open,close,read}_method_decl() macros added in
46bf043807c (streaming: a new API to read from the object store,
2011-05-11) in favor of inlining the definition of the arguments of
these functions.
Since we'll end up using them via the "{open,close,read}_istream_fn"
types we don't gain anything in the way of compiler checking by using
these macros, and as of preceding commits we no longer need to declare
these argument lists twice. So declaring them at a distance just
serves to make the code less readable.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/lint-gitlink.perl')
0 files changed, 0 insertions, 0 deletions