bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* [PATCH] qsort_r-tests: minor visibility cleanup
@ 2024-02-18  7:27 Paul Eggert
  0 siblings, 0 replies; only message in thread
From: Paul Eggert @ 2024-02-18  7:27 UTC (permalink / raw)
  To: bug-gnulib; +Cc: Paul Eggert

* 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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-18  7:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-18  7:27 [PATCH] qsort_r-tests: minor visibility cleanup Paul Eggert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).