From 5abe895bd25a9e07b7d98617d145dbf048e44a21 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Sun, 6 May 2007 19:28:56 +1000 Subject: [REDIR] Remove redundant CLOEXEC calls Now that we're marking file descriptors as CLOEXEC in savefd, we no longer need to close them on exec or in setinputfd. --- src/redir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/redir.h') diff --git a/src/redir.h b/src/redir.h index 2c43511..a8e6630 100644 --- a/src/redir.h +++ b/src/redir.h @@ -44,7 +44,7 @@ union node; void redirect(union node *, int); void popredir(int); -void clearredir(int); +void clearredir(void); int savefd(int); int redirectsafe(union node *, int); -- cgit 1.4.1