summaryrefslogtreecommitdiff
path: root/src/pr.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-05 04:35:39 +0000
committerJim Meyering <jim@meyering.net>1996-12-05 04:35:39 +0000
commitd0cac59c720d686361058a3861ffeb0cf35e53c7 (patch)
treed3771e2e0b6ca1d1b5f8af5d5abf03f1345e219b /src/pr.c
parented0923a11c1cde29b423c83b3f22be3d2b73f464 (diff)
downloadcoreutils-d0cac59c720d686361058a3861ffeb0cf35e53c7.tar.xz
(separator_string): dcl parameter const.
Add __P in fwd dcl.
Diffstat (limited to 'src/pr.c')
-rw-r--r--src/pr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pr.c b/src/pr.c
index 7e20e3c38..6d9631dd3 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);