From 059c9672ff50637d3eb97999491d207ab221d677 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 28 Apr 2002 17:09:12 +0000 Subject: [PATCH] (test_syntax_error): Add `const' to paramater declarations to avoid new warning from gcc. --- src/test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.3