From e81a82b74f44bfddce247d566617137725f11b19 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 25 Oct 2006 01:05:30 +0200 Subject: * 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. --- src/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/expr.c') diff --git a/src/expr.c b/src/expr.c index 99bbdd8fd..7f9f5323d 100644 --- a/src/expr.c +++ b/src/expr.c @@ -236,7 +236,7 @@ int_value (intmax_t i) /* Return a VALUE for S. */ static VALUE * -str_value (char *s) +str_value (char const *s) { VALUE *v = xmalloc (sizeof *v); v->type = string; -- cgit v1.2.3