sha1-array.c: mark a private file-scope symbol as static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user