bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] qsort_r-tests: minor visibility cleanup


From: Paul Eggert
Subject: [PATCH] qsort_r-tests: minor visibility cleanup
Date: Sat, 17 Feb 2024 23:27:48 -0800

* tests/test-qsort_r.c (cmp): Now static.
---
 ChangeLog            | 3 +++
 tests/test-qsort_r.c | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 4680deb9db..f048c91af5 100644
--- 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.
diff --git a/tests/test-qsort_r.c b/tests/test-qsort_r.c
index 9cdbd5e3f2..564ca6f8d5 100644
--- a/tests/test-qsort_r.c
+++ b/tests/test-qsort_r.c
@@ -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;
-- 
2.43.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]