summaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-28 17:12:53 +0000
committerJim Meyering <jim@meyering.net>2002-04-28 17:12:53 +0000
commita1319f687c985357e2bb8ea62e31e4b92dff2140 (patch)
tree653cca4e3fc424fae4611c58ef065d9efeb4604c /src/test.c
parent059c9672ff50637d3eb97999491d207ab221d677 (diff)
downloadcoreutils-a1319f687c985357e2bb8ea62e31e4b92dff2140.tar.xz
(integer_expected_error): Add `const' to paramater
declarations to avoid new warning from gcc.
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.c b/src/test.c
index 15c8718ec..04ca2a21b 100644
--- a/src/test.c
+++ b/src/test.c
@@ -229,7 +229,7 @@ beyond (void)
/* Syntax error for when an integer argument was expected, but
something else was found. */
static void
-integer_expected_error (char *pch)
+integer_expected_error (char const *pch)
{
test_syntax_error (_("integer expression expected %s\n"), pch);
}