summaryrefslogtreecommitdiff
path: root/gcc/gensupport.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2005-04-26 00:24:02 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2005-04-26 00:24:02 +0000
commit2653bb0c120ca2454c2d9af1b94674ad0c5e9732 (patch)
tree2afa56c934269974a6d0e35cfffd99f27f7659f7 /gcc/gensupport.c
parent3e591bd21b18df887a47f2b7912d2dfa9982d58a (diff)
downloadgcc-2653bb0c120ca2454c2d9af1b94674ad0c5e9732.tar.gz
collect2.c, [...]: Replace calls to `unlock_stream' with `unlock_std_streams'.
* collect2.c, gcc.c, gcov-dump.c, gcov.c, gen-protos.c, gensupport.c, protoize.c, toplev.c: Replace calls to `unlock_stream' with `unlock_std_streams'. java: * gjavah.c, jcf-dump.c, jv-scan.c, jvgenmain.c: Replace calls to `unlock_stream' with `unlock_std_streams'. From-SVN: r98753
Diffstat (limited to 'gcc/gensupport.c')
-rw-r--r--gcc/gensupport.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/gensupport.c b/gcc/gensupport.c
index 8c65a3e7a14..d6034ef2ad8 100644
--- a/gcc/gensupport.c
+++ b/gcc/gensupport.c
@@ -907,9 +907,7 @@ init_md_reader_args_cb (int argc, char **argv, bool (*parse_opt)(const char *))
rtx desc;
/* Unlock the stdio streams. */
- unlock_stream (stdin);
- unlock_stream (stdout);
- unlock_stream (stderr);
+ unlock_std_streams ();
for (i = 1; i < argc; i++)
{