summaryrefslogtreecommitdiff
path: root/src/csplit.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-10-25 01:05:30 +0200
committerJim Meyering <jim@meyering.net>2006-10-25 01:05:30 +0200
commite81a82b74f44bfddce247d566617137725f11b19 (patch)
tree49abf1426b3f7994ed5791afac1bd798d00325b5 /src/csplit.c
parent3e9cc761892d1601101e4b798046a6a5e47bc90d (diff)
downloadcoreutils-e81a82b74f44bfddce247d566617137725f11b19.tar.xz
* src/cat.c (infile): Add "const" to declaration.
* src/csplit.c (prefix): Likewise. * src/printf.c (cfcc_msg): Likewise. * src/tail.c (valid_file_spec): Likewise. * src/cut.c (cut_file): Likewise, for a parameter. * src/expr.c (str_value): Likewise. * src/fold.c (fold_file): Likewise. * src/pr.c (init_header): Likewise. * src/dircolors.c (dc_parse_stream): Likewise, for a local. * src/tr.c (make_printable_str): Likewise. * src/nl.c (body_type, header_type, footer_type, current_type): (separator_str, build_type_arg, nl_file): Likewise, for many. * src/paste.c (main): Don't assign a read-only string to 'optarg'. * src/tac.c (separator, tac_seekable, copy_to_temp): Likewise.
Diffstat (limited to 'src/csplit.c')
-rw-r--r--src/csplit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/csplit.c b/src/csplit.c
index 07bcb2095..e174ee59e 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -149,13 +149,13 @@ static uintmax_t current_line = 0;
static bool have_read_eof = false;
/* Name of output files. */
-static char * volatile filename_space = NULL;
+static char *volatile filename_space = NULL;
/* Prefix part of output file names. */
-static char * volatile prefix = NULL;
+static char const *volatile prefix = NULL;
/* Suffix part of output file names. */
-static char * volatile suffix = NULL;
+static char *volatile suffix = NULL;
/* Number of digits to use in output file names. */
static int volatile digits = 2;