Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/yamt-pagecache]: src/bin/sh constify
details: https://anonhg.NetBSD.org/src/rev/b7fab48d1f8f
branches: yamt-pagecache
changeset: 770899:b7fab48d1f8f
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Jun 12 01:08:16 2013 +0000
description:
constify
diffstat:
bin/sh/redir.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r bd77a5e464a4 -r b7fab48d1f8f bin/sh/redir.c
--- a/bin/sh/redir.c Mon Apr 22 13:09:02 2013 +0000
+++ b/bin/sh/redir.c Wed Jun 12 01:08:16 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: redir.c,v 1.32.2.1 2012/04/17 00:01:38 yamt Exp $ */
+/* $NetBSD: redir.c,v 1.32.2.2 2013/06/12 01:08:16 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.32.2.1 2012/04/17 00:01:38 yamt Exp $");
+__RCSID("$NetBSD: redir.c,v 1.32.2.2 2013/06/12 01:08:16 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