aboutsummaryrefslogtreecommitdiffstats
path: root/shared.c
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2016-08-13 11:52:51 +0100
committerJohn Keeping <john@keeping.me.uk>2016-10-01 11:46:55 +0100
commitb19d889f6cb2b8ded469c1676dddb3c71751b0ee (patch)
tree9d87cf269daa24bbdf5c3ce1284171ac0170ef02 /shared.c
parentd9dff37691633aa44524ecae216c103ea497e940 (diff)
downloadcgit-b19d889f6cb2b8ded469c1676dddb3c71751b0ee.tar.gz
cgit-b19d889f6cb2b8ded469c1676dddb3c71751b0ee.tar.bz2
cgit-b19d889f6cb2b8ded469c1676dddb3c71751b0ee.zip
shared: make cgit_free_taginfo() public
We will use this function from ui-tag.c in the next patch. Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared.c b/shared.c
index 3ada875..571fbba 100644
--- a/shared.c
+++ b/shared.c
@@ -203,7 +203,7 @@ static struct refinfo *cgit_mk_refinfo(const char *refname, const struct object_
return ref;
}
-static void cgit_free_taginfo(struct taginfo *tag)
+void cgit_free_taginfo(struct taginfo *tag)
{
if (tag->tagger)
free(tag->tagger);