Commit Diff
Diff:
1f690ebe65383786882e120daa2cba81a7b7f90e
810479a563ffd6176105f64cb49f9829d45d36df
Commit:
810479a563ffd6176105f64cb49f9829d45d36df
Tree:
cf6cf5ef86a64f3f431a79d9c9f77f5b580eef9c
Author:
Stefan Sperling <stsp@stsp.name>
Date:
Fri Sep 2 08:26:11 2022 UTC
Message:
sync diff_patience.c from got.git 336075a42a5ae0fa322db734c481d21998e82bb8
commit - 1f690ebe65383786882e120daa2cba81a7b7f90e
commit + 810479a563ffd6176105f64cb49f9829d45d36df
blob - abcbc8d0355b6f45e427bb4374f6b94fc5c3d7f4
blob + a06df2c36c9d8cb203803661ff563e969a584e88
--- lib/diff_patience.c
+++ lib/diff_patience.c
@@ -186,7 +186,7 @@ int diff_atoms_compar(const void *_a, const void *_b)
/* Use an optimized sorting algorithm (qsort, mergesort) to find unique lines */
-int diff_atoms_compar(const void *_a, const void *_b)
+static int diff_atoms_compar(const void *_a, const void *_b)
{
const struct diff_atom *a = *(struct diff_atom**)_a;
const struct diff_atom *b = *(struct diff_atom**)_b;
Omar Polo