]> Savannah Git Hosting - gnulib.git/commitdiff
explicit_bzero-tests: improve -Wmissing-declarations pacification
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 28 May 2020 23:02:32 +0000 (16:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 28 May 2020 23:03:30 +0000 (16:03 -0700)
* tests/test-explicit_bzero.c: Now noinline.
Suggested by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2020-05/msg00300.html

ChangeLog
tests/test-explicit_bzero.c

index 602923d3fbae68332a960fee233a4978db1a02af..0a62f572db26ff99b187520aa812ddce2b17ea9c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2020-05-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       explicit_bzero-tests: improve -Wmissing-declarations pacification
+       * tests/test-explicit_bzero.c: Now noinline.
+       Suggested by Bruno Haible in:
+       https://lists.gnu.org/r/bug-gnulib/2020-05/msg00300.html
+
 2020-05-28  Bruno Haible  <bruno@clisp.org>
 
        Fix build errors due to read-file changes (regression from 2020-05-27).
index 385fd12a9337d4b1ed78376afdad23d617703d03..b5698f898ff5e141a2f5ab37986f9749ba320824 100644 (file)
@@ -128,7 +128,7 @@ test_heap (void)
      2. Verify that the memory has been erased.
    Implement them in the same function, so that they access the same memory
    range on the stack.  */
-static int
+static int _GL_ATTRIBUTE_NOINLINE
 do_secret_stuff (volatile int pass)
 {
   char stackbuf[SECRET_SIZE];