summaryrefslogtreecommitdiffstats
path: root/bin/sh/redir.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/redir.c')
-rw-r--r--bin/sh/redir.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/sh/redir.c b/bin/sh/redir.c
index dde4384..9325545 100644
--- a/bin/sh/redir.c
+++ b/bin/sh/redir.c
@@ -319,18 +319,6 @@ popredir(void)
INTON;
}
-/*
- * Undo all redirections. Called on error or interrupt.
- */
-
-void
-resetredir(void)
-{
- while (redirlist)
- popredir();
-}
-
-
/* Return true if fd 0 has already been redirected at least once. */
int
fd0_redirected_p(void)
OpenPOWER on IntegriCloud