aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.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/protoize.c
parent3e591bd21b18df887a47f2b7912d2dfa9982d58a (diff)
downloadgcc-2653bb0c120ca2454c2d9af1b94674ad0c5e9732.zip
gcc-2653bb0c120ca2454c2d9af1b94674ad0c5e9732.tar.gz
gcc-2653bb0c120ca2454c2d9af1b94674ad0c5e9732.tar.bz2
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/protoize.c')
-rw-r--r--gcc/protoize.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index bb04201..3f0e251 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -4392,9 +4392,7 @@ main (int argc, char **const argv)
#endif
/* Unlock the stdio streams. */
- unlock_stream (stdin);
- unlock_stream (stdout);
- unlock_stream (stderr);
+ unlock_std_streams ();
gcc_init_libintl ();