From 5ff3ab915b16263bf87367bd1609cd0a6de0f484 Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Mon, 18 Sep 2017 23:20:23 +0200 Subject: [PATCH] tags: make private method private --- mutt_tags.c | 4 ++-- mutt_tags.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mutt_tags.c b/mutt_tags.c index 20bd78be6..29196c7ee 100644 --- a/mutt_tags.c +++ b/mutt_tags.c @@ -35,7 +35,7 @@ * * Free tag */ -void hdr_tags_free_tag_list(struct HeaderTag **kw_list) +static void hdr_tags_free_tag_list(struct HeaderTag **kw_list) { struct HeaderTag *tmp = NULL; @@ -156,7 +156,7 @@ void hdr_tags_init(struct Header *h) * * Add a tag to the header tags */ -void hdr_tags_add(struct Header *h, char *new_tag) +static void hdr_tags_add(struct Header *h, char *new_tag) { struct HeaderTag *ttmp = NULL; char *new_tag_transformed = NULL; diff --git a/mutt_tags.h b/mutt_tags.h index 45ca72773..65b8e3c22 100644 --- a/mutt_tags.h +++ b/mutt_tags.h @@ -57,14 +57,12 @@ struct HeaderTags struct HeaderTag *tag_list; }; -void hdr_tags_free_tag_list(struct HeaderTag **kw_list); void hdr_tags_free(struct Header *h); const char *hdr_tags_get(struct Header *h); const char *hdr_tags_get_with_hidden(struct Header *h); const char *hdr_tags_get_transformed(struct Header *h); const char *hdr_tags_get_transformed_for(char *name, struct Header *h); void hdr_tags_init(struct Header *h); -void hdr_tags_add(struct Header *h, char *new_tag); int hdr_tags_replace(struct Header *h, char *tags); int hdr_tags_editor(struct Context *ctx, const char *tags, char *buf, size_t buflen); int hdr_tags_commit(struct Context *ctx, struct Header *h, char *tags); -- 2.40.0