* tests/test-read-file.c (test_read_file): Now static. --- ChangeLog | 3 +++ tests/test-read-file.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog index b7b39272f..4d240e0d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2020-05-31 Paul Eggert <[email protected]> + 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 diff --git a/tests/test-read-file.c b/tests/test-read-file.c index b37f875b2..7d01ec07c 100644 --- a/tests/test-read-file.c +++ b/tests/test-read-file.c @@ -28,7 +28,7 @@ #define FILE1 "/etc/resolv.conf" #define FILE2 "/dev/null" -int +static int test_read_file (int flags) { struct stat statbuf; -- 2.17.1
