]> Savannah Git Hosting - gnulib.git/commitdiff
qsort_r-tests: minor visibility cleanup
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Feb 2024 07:27:13 +0000 (23:27 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Feb 2024 07:27:36 +0000 (23:27 -0800)
* tests/test-qsort_r.c (cmp): Now static.

ChangeLog
tests/test-qsort_r.c

index 4680deb9db0536f76de41724ab306c6c76515ca6..f048c91af50dc371c86b76b9e6ffa92d17f2c2f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2024-02-17  Paul Eggert  <eggert@cs.ucla.edu>
 
+       qsort_r-tests: minor visibility cleanup
+       * tests/test-qsort_r.c (cmp): Now static.
+
        savedir: work around GCC bug 113963
        * lib/savedir.c: Ignore -Wanalyzer-malloc-leak and
        -Wanalyzer-null-dereference.
index 9cdbd5e3f26038c871cd2f42c34b16b6c50697c9..564ca6f8d5477df96e974910f6d1cfbf0f1a25f9 100644 (file)
@@ -22,7 +22,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-int
+static int
 cmp (void const *va, void const *vb, void *varg)
 {
   char const *a = va;