]> Savannah Git Hosting - gnulib.git/commitdiff
read-file-test: pacify --enable-gcc-warnings
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 Jun 2020 05:18:21 +0000 (22:18 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 Jun 2020 05:18:40 +0000 (22:18 -0700)
* tests/test-read-file.c (test_read_file): Now static.

ChangeLog
tests/test-read-file.c

index b7b39272f93a0bb6641a3e3f053c98ce08bd8d70..4d240e0d4142dc5a614464b26e33f3d2592a4276 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2020-05-31  Paul Eggert  <eggert@cs.ucla.edu>
 
+       read-file-test: pacify --enable-gcc-warnings
+       * tests/test-read-file.c (test_read_file): Now static.
+
        tempname: merge from glibc and coreutils
        Also, merge in Gnulib’s more-recent methods of making it easier
        to share between Gnulib and glibc, and fix a few randomness
index b37f875b22a8e3670cf521cfbc9ca148bcc04ab0..7d01ec07c2f27b311417eaa562eb185df488095a 100644 (file)
@@ -28,7 +28,7 @@
 #define FILE1 "/etc/resolv.conf"
 #define FILE2 "/dev/null"
 
-int
+static int
 test_read_file (int flags)
 {
   struct stat statbuf;