trailer: retire trailer_info_get() from API
commitcf5c9349de52d8d5fa02f7a5b6d9122260834f26
authorLinus Arver <linus@ucla.edu>
Thu, 2 May 2024 04:54:25 +0000 (2 04:54 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 May 2024 16:57:08 +0000 (2 09:57 -0700)
tree7635b9ff9cfb0c5ffd28e75a67e5f12f545a006c
parentc1e4b2b18e9bd7e808285c88ec58eb00ea4942fc
trailer: retire trailer_info_get() from API

Make trailer_info_get() "static" to be file-scoped to trailer.c, because
no one outside of trailer.c uses it. Remove its declaration from
<trailer.h>.

We have to also reposition it to be above parse_trailers(), which
depends on it.

Signed-off-by: Linus Arver <linus@ucla.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
trailer.c
trailer.h