]> git.ipfire.org Git - thirdparty/git.git/commit
reftable/stack: reorder code to avoid forward declarations
authorPatrick Steinhardt <ps@pks.im>
Tue, 12 Aug 2025 09:54:17 +0000 (11:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Aug 2025 14:40:59 +0000 (07:40 -0700)
commit5ed5f5dc01636ac8590a499bb1d63b26789c73aa
tree41f7d6f8bd434c3919db47ee698bad5b9e6da441
parentd4a2159a78432d787c3f198a58c718b4b4e3d9bb
reftable/stack: reorder code to avoid forward declarations

We have a couple of forward declarations in the stack-related code of
the reftable library. These declarations aren't really required, but are
simply caused by unfortunate ordering.

Reorder the code and remove the forward declarations.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/stack.c