]> Savannah Git Hosting - gnulib.git/commitdiff
nullptr-tests: pacify gcc -Wmissing-declarations
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 29 Jun 2023 22:23:55 +0000 (15:23 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 29 Jun 2023 22:24:57 +0000 (15:24 -0700)
* tests/test-nullptr.c (varargs_callee): Now static.

ChangeLog
tests/test-nullptr.c

index ecd0e03696c20819b764f0a8c158cc11375de175..f96cd87f59cd1edf25cd8d284ef75f62f1f541ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-06-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       nullptr-tests: pacify gcc -Wmissing-declarations
+       * tests/test-nullptr.c (varargs_callee): Now static.
+
 2023-06-29  Bruno Haible  <bruno@clisp.org>
 
        libtextstyle-optional: Update to gettext 0.22.
index 1f9abc7422237709d5a4ef846e80896fd2652b04..260d40a076848c1fc23a6ab88ae39bf0b0ceb512 100644 (file)
@@ -39,7 +39,7 @@ simple_callee (nullptr_t x)
 
 #endif
 
-void
+static void
 varargs_callee (const char *first, ...)
 {
   va_list args;