Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh constify
details: https://anonhg.NetBSD.org/src/rev/3430701b72f7
branches: trunk
changeset: 787344:3430701b72f7
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Jun 12 01:36:52 2013 +0000
description:
constify
diffstat:
bin/sh/redir.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 0f78e2627af0 -r 3430701b72f7 bin/sh/redir.c
--- a/bin/sh/redir.c Wed Jun 12 01:31:24 2013 +0000
+++ b/bin/sh/redir.c Wed Jun 12 01:36:52 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: redir.c,v 1.33 2012/03/20 18:42:29 matt Exp $ */
+/* $NetBSD: redir.c,v 1.34 2013/06/12 01:36:52 yamt Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)redir.c 8.2 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: redir.c,v 1.33 2012/03/20 18:42:29 matt Exp $");
+__RCSID("$NetBSD: redir.c,v 1.34 2013/06/12 01:36:52 yamt Exp $");
#endif
#endif /* not lint */
@@ -91,7 +91,7 @@
int fd0_redirected = 0;
STATIC void openredirect(union node *, char[10], int);
-STATIC int openhere(union node *);
+STATIC int openhere(const union node *);
/*
@@ -256,7 +256,7 @@
*/
STATIC int
-openhere(union node *redir)
+openhere(const union node *redir)
{
int pip[2];
int len = 0;
Home |
Main Index |
Thread Index |
Old Index