]> gcc.gnu.org Git - gcc.git/commitdiff
collect2.c, [...]: Replace calls to `unlock_stream' with `unlock_std_streams'.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 26 Apr 2005 00:24:02 +0000 (00:24 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 26 Apr 2005 00:24:02 +0000 (00:24 +0000)
* 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

14 files changed:
gcc/ChangeLog
gcc/collect2.c
gcc/gcc.c
gcc/gcov-dump.c
gcc/gcov.c
gcc/gen-protos.c
gcc/gensupport.c
gcc/java/ChangeLog
gcc/java/gjavah.c
gcc/java/jcf-dump.c
gcc/java/jv-scan.c
gcc/java/jvgenmain.c
gcc/protoize.c
gcc/toplev.c

index 2824494573dd3e2b5c22355e3ac0bdf79ea20bd5..79ebebdb908eae955d5e05e00c681439ddd3de8a 100644 (file)
@@ -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.
index 9dfaf62c9eda27282691886a4bf9a7ef59aeb5b4..7c8fde6a4c0008b3290c31db28eb6fb1a629042c 100644 (file)
@@ -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 ();
 
index d3a0ecff05db4263e82e7a2962b7d9e0f015ed9f..632e93749dc6076b3d6f6d294e1ca37257578f3b 100644 (file)
--- 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 ();
 
index 514004e771a832653baf8d0e0acdcf442b97c884..eb1e99f293e64c82798b177853d7e18c5528cdf5 100644 (file)
@@ -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)
     {
index 6b8f3370c39519725246c976453b23e4cefc19f0..984721a058b656e5684189006a71061e73a8ec94 100644 (file)
@@ -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 ();
 
index d60a2098d06245b2c765c18cc501ed5a5834d1c0..b5736aa3f812f5261c61944da5c979f097d4fa17 100644 (file)
@@ -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);
 
index 8c65a3e7a14e1849a9a02e37df13621317bec323..d6034ef2ad82cf24dc37410686f565248c17c391 100644 (file)
@@ -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++)
     {
index ffb569d6af121598f0d009109156dedf1005def8..7a2a7a8f8cd794e39d792af0cbf3f41ff52ed27d 100644 (file)
@@ -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)
index 98d20355ed10b8900aa76ee562184fd1424c1c71..f8ae732b2c05a0ba41138abc7cc1214a4145a466 100644 (file)
@@ -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 ();
 
index cd6f709fbb03114d7e94e1fcceb1c8529661846c..a273d0be82e1ee9cfabce6671ec2fece8473a378 100644 (file)
@@ -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 ();
 
index a7522840589a11aff6f83304a2206cb8e4cae8b3..a283328847e5a660786c0f11c4b27f9ae2ccab1a 100644 (file)
@@ -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 ();
 
index 5c651b4164acc224dc450775c498506e306b4f02..f63c20a6364a019406de8a415223bdb1c3a86911 100644 (file)
@@ -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 ();
 
index bb0420138fb17c13c638e479bee8641a2754eb4f..3f0e251916122f4d92596e7b2e4e956a09dda633 100644 (file)
@@ -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 ();
 
index cea3bb470f33a0bae30f5da840f78226f848f1fa..c7e5440504afa003f4e8a5eaf58405c51cc81104 100644 (file)
@@ -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 ();
 
This page took 0.096935 seconds and 5 git commands to generate.