Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh fix constness (from kre)
details: https://anonhg.NetBSD.org/src/rev/f9c74af71cb6
branches: trunk
changeset: 344306:f9c74af71cb6
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 21 02:37:26 2016 +0000
description:
fix constness (from kre)
diffstat:
bin/sh/parser.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 20940c1f927b -r f9c74af71cb6 bin/sh/parser.c
--- a/bin/sh/parser.c Sun Mar 20 22:57:49 2016 +0000
+++ b/bin/sh/parser.c Mon Mar 21 02:37:26 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: parser.c,v 1.106 2016/03/20 22:56:39 christos Exp $ */
+/* $NetBSD: parser.c,v 1.107 2016/03/21 02:37:26 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)parser.c 8.7 (Berkeley) 5/16/95";
#else
-__RCSID("$NetBSD: parser.c,v 1.106 2016/03/20 22:56:39 christos Exp $");
+__RCSID("$NetBSD: parser.c,v 1.107 2016/03/21 02:37:26 christos Exp $");
#endif
#endif /* not lint */
@@ -1089,13 +1089,13 @@
* characters on the top of the stack which must be preserved.
*/
static char *
-parsebackq(VSS *const stack, const char *in,
+parsebackq(VSS *const stack, char * const in,
struct nodelist **const pbqlist, const int oldstyle)
{
struct nodelist **nlpp;
int savepbq;
union node *n;
- const char *out;
+ char *out;
char *str = NULL;
char *pout;
char *volatile sstr = str;
Home |
Main Index |
Thread Index |
Old Index