summaryrefslogtreecommitdiff
path: root/sha1-array.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-09-15 22:39:43 -0700
committerJunio C Hamano <gitster@pobox.com>2012-09-15 22:58:21 -0700
commit69850be47d1b629543a2c45e8dd254729c5676af (patch)
tree01fca47b8c54c62a627d1d97c8c33e05925ff4ed /sha1-array.c
parent72f3196a2db0f58b24acd2f9369c7f97d0d770d5 (diff)
downloadgit-69850be47d1b629543a2c45e8dd254729c5676af.tar.gz
sha1-array.c: mark a private file-scope symbol as static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1-array.c')
-rw-r--r--sha1-array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1-array.c b/sha1-array.c
index b2f47f98fb..6f4a2246c9 100644
--- a/sha1-array.c
+++ b/sha1-array.c
@@ -14,7 +14,7 @@ static int void_hashcmp(const void *a, const void *b)
return hashcmp(a, b);
}
-void sha1_array_sort(struct sha1_array *array)
+static void sha1_array_sort(struct sha1_array *array)
{
qsort(array->sha1, array->nr, sizeof(*array->sha1), void_hashcmp);
array->sorted = 1;