summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-28 17:09:12 +0000
committerJim Meyering <jim@meyering.net>2002-04-28 17:09:12 +0000
commit059c9672ff50637d3eb97999491d207ab221d677 (patch)
tree89c7dd7bab05aba5f911a5418de34e80bc494d7d /src
parent8a2075ba7db3c7906893e781f0628a37754bb3c8 (diff)
downloadcoreutils-059c9672ff50637d3eb97999491d207ab221d677.tar.xz
(test_syntax_error): Add `const' to paramater
declarations to avoid new warning from gcc.
Diffstat (limited to 'src')
-rw-r--r--src/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test.c b/src/test.c
index 8056795e3..15c8718ec 100644
--- a/src/test.c
+++ b/src/test.c
@@ -122,12 +122,12 @@ static int term PARAMS ((void));
static int and PARAMS ((void));
static int or PARAMS ((void));
-static void test_syntax_error PARAMS ((char *format, char *arg))
+static void test_syntax_error PARAMS ((char const *format, char const *arg))
ATTRIBUTE_NORETURN;
static void beyond PARAMS ((void)) ATTRIBUTE_NORETURN;
static void
-test_syntax_error (char *format, char *arg)
+test_syntax_error (char const *format, char const *arg)
{
fprintf (stderr, "%s: ", argv[0]);
fprintf (stderr, format, arg);