Module Name: src Committed By: yamt Date: Wed Jun 12 01:08:16 UTC 2013
Modified Files: src/bin/sh [yamt-pagecache]: redir.c Log Message: constify To generate a diff of this commit: cvs rdiff -u -r1.32.2.1 -r1.32.2.2 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.32.2.1 src/bin/sh/redir.c:1.32.2.2 --- src/bin/sh/redir.c:1.32.2.1 Tue Apr 17 00:01:38 2012 +++ src/bin/sh/redir.c Wed Jun 12 01:08:16 2013 @@ -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 @@ 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;