From: Ronnie Sahlberg Date: Fri, 25 Jul 2014 17:55:25 GMT Subject: [PATCH 4/5] refs.c: make repack_without_refs static Message-ID: <1406310926-4080-5-git-send-email-sahlberg@google.com> In-Reply-To: <1406310926-4080-1-git-send-email-sahlberg@google.com> Signed-off-by: Ronnie Sahlberg --- refs.c | 2 +- refs.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/refs.c b/refs.c index efa4f0d..5696d18 100644 --- a/refs.c +++ b/refs.c @@ -2534,7 +2534,7 @@ static int curate_packed_ref_fn(struct ref_entry *entry, void *cb_data) /* * Must be called with packed refs already locked (and sorted) */ -int repack_without_refs(const char **refnames, int n, struct strbuf *err) +static int repack_without_refs(const char **refnames, int n, struct strbuf *err) { struct ref_dir *packed; struct string_list refs_to_delete = STRING_LIST_INIT_DUP; diff --git a/refs.h b/refs.h index eb918a0..7183e8e 100644 --- a/refs.h +++ b/refs.h @@ -155,9 +155,6 @@ extern void rollback_packed_refs(void); */ int pack_refs(unsigned int flags); -extern int repack_without_refs(const char **refnames, int n, - struct strbuf *err); - extern int ref_exists(const char *); /* -- 2.0.1.518.g4f5a8ad