summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-02-11 13:44:07 -0800
committerJunio C Hamano <gitster@pobox.com>2015-02-11 13:44:07 -0800
commitc985aaf87909ab7f8194b3cfed3a744cbff78fe9 (patch)
tree37416fd6c423c75204b505e7a71ca1812a3a1f29 /remote.c
parentcba07bb6ff58da5aa4538c4a2bbf70b717b172b3 (diff)
parent167832c2ca8e42572c0e8d329a78dbace2ecf2db (diff)
downloadgit-c985aaf87909ab7f8194b3cfed3a744cbff78fe9.tar.gz
Merge branch 'jc/unused-symbols'
Mark file-local symbols as "static", and drop functions that nobody uses. * jc/unused-symbols: shallow.c: make check_shallow_file_for_update() static remote.c: make clear_cas_option() static urlmatch.c: make match_urls() static revision.c: make save_parents() and free_saved_parents() static line-log.c: make line_log_data_init() static pack-bitmap.c: make pack_bitmap_filename() static prompt.c: remove git_getpass() nobody uses http.c: make finish_active_slot() and handle_curl_result() static
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.c b/remote.c
index 7b71ebf4bf..68901b0070 100644
--- a/remote.c
+++ b/remote.c
@@ -2156,7 +2156,7 @@ struct ref *get_stale_heads(struct refspec *refs, int ref_count, struct ref *fet
/*
* Compare-and-swap
*/
-void clear_cas_option(struct push_cas_option *cas)
+static void clear_cas_option(struct push_cas_option *cas)
{
int i;