aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--cgit.h1
-rw-r--r--shared.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/cgit.h b/cgit.h
index df42312..7df0e3a 100644
--- a/cgit.h
+++ b/cgit.h
@@ -344,7 +344,6 @@ extern int cgit_refs_cb(const char *refname, const struct object_id *oid,
int flags, void *cb_data);
extern void cgit_free_commitinfo(struct commitinfo *info);
-extern void cgit_free_taginfo(struct taginfo *info);
void cgit_diff_tree_cb(struct diff_queue_struct *q,
struct diff_options *options, void *data);
diff --git a/shared.c b/shared.c
index 571fbba..3ada875 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;
}
-void cgit_free_taginfo(struct taginfo *tag)
+static void cgit_free_taginfo(struct taginfo *tag)
{
if (tag->tagger)
free(tag->tagger);