packfile: make `close_pack_revindex()` static
commit0bf0de6cc70361b7847264050d03b91f6d423813
authorTaylor Blau <me@ttaylorr.com>
Sat, 4 Dec 2021 22:51:38 +0000 (4 17:51 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 5 Dec 2021 07:01:38 +0000 (4 23:01 -0800)
tree30b6e8af71ad5fff1bdb2d84efbf4c3e24b51d7d
parent6885cd7dc573b1750b8d895820b8b2f56285f070
packfile: make `close_pack_revindex()` static

Since its definition in 2f4ba2a867 (packfile: prepare for the existence
of '*.rev' files, 2021-01-25), the only caller of
`close_pack_revindex()` was within packfile.c.

Thus there is no need for this to be exposed via packfile.h, and instead
can remain static within packfile.c's compilation unit. While we're
here, move the function's opening brace onto its own line.

Noticed-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
packfile.c
packfile.h