bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* [PATCH] read-file-test: pacify --enable-gcc-warnings
@ 2020-06-01  5:18 Paul Eggert
  0 siblings, 0 replies; only message in thread
From: Paul Eggert @ 2020-06-01  5:18 UTC (permalink / raw)
  To: bug-gnulib; +Cc: Paul Eggert

* 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  <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
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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-01  5:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01  5:18 [PATCH] read-file-test: pacify --enable-gcc-warnings Paul Eggert

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).