diff options
author | Linus Arver <linus@ucla.edu> | 2024-05-02 06:54:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-05-02 18:57:08 +0200 |
commit | cf5c9349de52d8d5fa02f7a5b6d9122260834f26 (patch) | |
tree | 7635b9ff9cfb0c5ffd28e75a67e5f12f545a006c /trailer.h | |
parent | trailer: make trailer_info struct private (diff) | |
download | git-cf5c9349de52d8d5fa02f7a5b6d9122260834f26.tar.xz git-cf5c9349de52d8d5fa02f7a5b6d9122260834f26.zip |
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>
Diffstat (limited to 'trailer.h')
-rw-r--r-- | trailer.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -73,8 +73,6 @@ void process_trailers_lists(struct list_head *head, struct trailer_info *parse_trailers(const struct process_trailer_options *, const char *str, struct list_head *head); -struct trailer_info *trailer_info_get(const struct process_trailer_options *, - const char *str); size_t trailer_block_start(struct trailer_info *); size_t trailer_block_end(struct trailer_info *); |