]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(integer_expected_error): Add `const' to paramater
authorJim Meyering <jim@meyering.net>
Sun, 28 Apr 2002 17:12:53 +0000 (17:12 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 28 Apr 2002 17:12:53 +0000 (17:12 +0000)
declarations to avoid new warning from gcc.

src/test.c

index 15c8718ec2cc5cd404d97aaf57800f7ef5d8f8fb..04ca2a21be40def167381369b55b74777ef6d583 100644 (file)
@@ -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);
 }