]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(separator_string): dcl parameter const.
authorJim Meyering <jim@meyering.net>
Thu, 5 Dec 1996 04:35:39 +0000 (04:35 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 5 Dec 1996 04:35:39 +0000 (04:35 +0000)
Add __P in fwd dcl.

src/pr.c

index 7e20e3c388d1df257ccc0013ddfd159bc831e65f..6d9631dd3a745e6b15852bf272a56f9cdbc648d9 100644 (file)
--- 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);