summaryrefslogtreecommitdiff
path: root/gcc/gensupport.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-26 00:24:02 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-26 00:24:02 +0000
commit9c8f076b9eb6d9a6f04bf033c432a15b13870d2d (patch)
tree2afa56c934269974a6d0e35cfffd99f27f7659f7 /gcc/gensupport.c
parent4681333d7624f4087fd64ffd895dc24e63f2bced (diff)
downloadgcc-9c8f076b9eb6d9a6f04bf033c432a15b13870d2d.tar.gz
* 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'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98753 138bc75d-0d04-0410-961f-82ee72b054a4
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++)
{