From: Jim Meyering Date: Thu, 5 Dec 1996 04:35:39 +0000 (+0000) Subject: (separator_string): dcl parameter const. X-Git-Tag: TEXTUTILS-1_19q~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d0cac59c720d686361058a3861ffeb0cf35e53c7;p=thirdparty%2Fcoreutils.git (separator_string): dcl parameter const. Add __P in fwd dcl. --- diff --git a/src/pr.c b/src/pr.c index 7e20e3c388..6d9631dd3a 100644 --- a/src/pr.c +++ b/src/pr.c @@ -299,7 +299,7 @@ static void print_char __P ((int c)); static void cleanup __P ((void)); static void first_last_page __P ((char *pages)); static void print_sep_string __P ((void)); -static void separator_string (char *optarg_S); +static void separator_string __P ((const char *optarg_S)); /* The name under which this program was invoked. */ char *program_name; @@ -661,7 +661,7 @@ first_last_page (char *pages) /* Estimate length of col_sep_string with option -s[STRING] */ static void -separator_string (char *optarg_S) +separator_string (const char *optarg_S) { col_sep_length = (int) strlen (optarg_S); col_sep_string = (char *) xmalloc (col_sep_length + 1);