[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] read-file-test: pacify --enable-gcc-warnings
From: |
Paul Eggert |
Subject: |
[PATCH] read-file-test: pacify --enable-gcc-warnings |
Date: |
Sun, 31 May 2020 22:18:57 -0700 |
* 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] read-file-test: pacify --enable-gcc-warnings,
Paul Eggert <=