Module Name: src
Committed By: yamt
Date: Wed Jun 12 01:36:52 UTC 2013
Modified Files:
src/bin/sh: redir.c
Log Message:
constify
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/bin/sh/redir.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/redir.c
diff -u src/bin/sh/redir.c:1.33 src/bin/sh/redir.c:1.34
--- src/bin/sh/redir.c:1.33 Tue Mar 20 18:42:29 2012
+++ src/bin/sh/redir.c Wed Jun 12 01:36:52 2013
@@ -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 @@ MKINIT struct redirtab *redirlist;
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 @@ eopen:
*/
STATIC int
-openhere(union node *redir)
+openhere(const union node *redir)
{
int pip[2];
int len = 0;