diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-02-11 13:44:07 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-11 13:44:07 -0800 |
commit | c985aaf87909ab7f8194b3cfed3a744cbff78fe9 (patch) | |
tree | 37416fd6c423c75204b505e7a71ca1812a3a1f29 /remote.c | |
parent | cba07bb6ff58da5aa4538c4a2bbf70b717b172b3 (diff) | |
parent | 167832c2ca8e42572c0e8d329a78dbace2ecf2db (diff) | |
download | git-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |