bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: bug-gnulib@gnu.org
Cc: Paul Eggert <eggert@cs.ucla.edu>
Subject: [PATCH] qsort_r-tests: minor visibility cleanup
Date: Sat, 17 Feb 2024 23:27:48 -0800	[thread overview]
Message-ID: <20240218072753.449166-1-eggert@cs.ucla.edu> (raw)

* 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
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>
+static int
 cmp (void const *va, void const *vb, void *varg)
   char const *a = va;

                 reply	other threads:[~2024-02-18  7:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240218072753.449166-1-eggert@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=bug-gnulib@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).