summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/collect2.c4
-rw-r--r--gcc/gcc.c4
-rw-r--r--gcc/gcov-dump.c4
-rw-r--r--gcc/gcov.c4
-rw-r--r--gcc/gen-protos.c4
-rw-r--r--gcc/gensupport.c4
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/gjavah.c4
-rw-r--r--gcc/java/jcf-dump.c4
-rw-r--r--gcc/java/jv-scan.c4
-rw-r--r--gcc/java/jvgenmain.c4
-rw-r--r--gcc/protoize.c4
-rw-r--r--gcc/toplev.c4
14 files changed, 23 insertions, 36 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2824494573d..79ebebdb908 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * 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'.
+
2005-04-25 Devang Patel <dpatel@apple.com>
* dbxout.c (dbxout_type): Emit attribute vector.
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 9dfaf62c9ed..7c8fde6a4c0 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -832,9 +832,7 @@ main (int argc, char **argv)
#endif
/* Unlock the stdio streams. */
- unlock_stream (stdin);
- unlock_stream (stdout);
- unlock_stream (stderr);
+ unlock_std_streams ();
gcc_init_libintl ();
diff --git a/gcc/gcc.c b/gcc/gcc.c
index d3a0ecff05d..632e93749dc 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -5996,9 +5996,7 @@ main (int argc, const char **argv)
#endif
/* Unlock the stdio streams. */
- unlock_stream (stdin);
- unlock_stream (stdout);
- unlock_stream (stderr);
+ unlock_std_streams ();
gcc_init_libintl ();
diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c
index 514004e771a..eb1e99f293e 100644
--- a/gcc/gcov-dump.c
+++ b/gcc/gcov-dump.c
@@ -78,9 +78,7 @@ main (int argc ATTRIBUTE_UNUSED, char **argv)
int opt;
/* Unlock the stdio streams. */
- unlock_stream (stdin);
- unlock_stream (stdout);
- unlock_stream (stderr);
+ unlock_std_streams ();
while ((opt = getopt_long (argc, argv, "hlpv", options, NULL)) != -1)
{
diff --git a/gcc/gcov.c b/gcc/gcov.c
index 6b8f3370c39..984721a058b 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -348,9 +348,7 @@ main (int argc, char **argv)
int argno;
/* Unlock the stdio streams. */
- unlock_stream (stdin);
- unlock_stream (stdout);
- unlock_stream (stderr);
+ unlock_std_streams ();
gcc_init_libintl ();
diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c
index d60a2098d06..b5736aa3f81 100644
--- a/gcc/gen-protos.c
+++ b/gcc/gen-protos.c
@@ -140,9 +140,7 @@ main (int argc ATTRIBUTE_UNUSED, char **argv)
progname = &argv[0][i];
/* Unlock the stdio streams. */
- unlock_stream (stdin);
- unlock_stream (stdout);
- unlock_stream (stderr);
+ unlock_std_streams ();
INIT_SSTRING (&linebuf);
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++)
{
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index ffb569d6af1..7a2a7a8f8cd 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * gjavah.c, jcf-dump.c, jv-scan.c, jvgenmain.c: Replace calls
+ to `unlock_stream' with `unlock_std_streams'.
+
2005-04-25 Jakub Jelinek <jakub@redhat.com>
* Make-lang.in (java/decl.o, java/resource.o): Depend on $(EXPR_H)
diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c
index 98d20355ed1..f8ae732b2c0 100644
--- a/gcc/java/gjavah.c
+++ b/gcc/java/gjavah.c
@@ -2389,9 +2389,7 @@ main (int argc, char** argv)
int opt;
/* Unlock the stdio streams. */
- unlock_stream (stdin);
- unlock_stream (stdout);
- unlock_stream (stderr);
+ unlock_std_streams ();
gcc_init_libintl ();
diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c
index cd6f709fbb0..a273d0be82e 100644
--- a/gcc/java/jcf-dump.c
+++ b/gcc/java/jcf-dump.c
@@ -941,9 +941,7 @@ main (int argc, char** argv)
int argi, opt;
/* Unlock the stdio streams. */
- unlock_stream (stdin);
- unlock_stream (stdout);
- unlock_stream (stderr);
+ unlock_std_streams ();
gcc_init_libintl ();
diff --git a/gcc/java/jv-scan.c b/gcc/java/jv-scan.c
index a7522840589..a283328847e 100644
--- a/gcc/java/jv-scan.c
+++ b/gcc/java/jv-scan.c
@@ -148,9 +148,7 @@ main (int argc, char **argv)
out = stdout;
/* Unlock the stdio streams. */
- unlock_stream (stdin);
- unlock_stream (stdout);
- unlock_stream (stderr);
+ unlock_std_streams ();
gcc_init_libintl ();
diff --git a/gcc/java/jvgenmain.c b/gcc/java/jvgenmain.c
index 5c651b4164a..f63c20a6364 100644
--- a/gcc/java/jvgenmain.c
+++ b/gcc/java/jvgenmain.c
@@ -59,9 +59,7 @@ main (int argc, char **argv)
int i, last_arg;
/* Unlock the stdio streams. */
- unlock_stream (stdin);
- unlock_stream (stdout);
- unlock_stream (stderr);
+ unlock_std_streams ();
gcc_init_libintl ();
diff --git a/gcc/protoize.c b/gcc/protoize.c
index bb0420138fb..3f0e2519161 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 ();
diff --git a/gcc/toplev.c b/gcc/toplev.c
index cea3bb470f3..c7e5440504a 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1619,9 +1619,7 @@ general_init (const char *argv0)
hex_init ();
/* Unlock the stdio streams. */
- unlock_stream (stdin);
- unlock_stream (stdout);
- unlock_stream (stderr);
+ unlock_std_streams ();
gcc_init_libintl ();