From: Jim Meyering Date: Sun, 28 Apr 2002 17:09:12 +0000 (+0000) Subject: (test_syntax_error): Add `const' to paramater X-Git-Tag: SH-UTILS-2_0_12~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=059c9672ff50637d3eb97999491d207ab221d677;p=thirdparty%2Fcoreutils.git (test_syntax_error): Add `const' to paramater declarations to avoid new warning from gcc. --- diff --git a/src/test.c b/src/test.c index 8056795e34..15c8718ec2 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);