diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2005-04-26 00:24:02 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2005-04-26 00:24:02 +0000 |
commit | 2653bb0c120ca2454c2d9af1b94674ad0c5e9732 (patch) | |
tree | 2afa56c934269974a6d0e35cfffd99f27f7659f7 /gcc | |
parent | 3e591bd21b18df887a47f2b7912d2dfa9982d58a (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/collect2.c | 4 | ||||
-rw-r--r-- | gcc/gcc.c | 4 | ||||
-rw-r--r-- | gcc/gcov-dump.c | 4 | ||||
-rw-r--r-- | gcc/gcov.c | 4 | ||||
-rw-r--r-- | gcc/gen-protos.c | 4 | ||||
-rw-r--r-- | gcc/gensupport.c | 4 | ||||
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/gjavah.c | 4 | ||||
-rw-r--r-- | gcc/java/jcf-dump.c | 4 | ||||
-rw-r--r-- | gcc/java/jv-scan.c | 4 | ||||
-rw-r--r-- | gcc/java/jvgenmain.c | 4 | ||||
-rw-r--r-- | gcc/protoize.c | 4 | ||||
-rw-r--r-- | gcc/toplev.c | 4 |
14 files changed, 23 insertions, 36 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2824494..79ebebd 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 9dfaf62..7c8fde6 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 (); @@ -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 514004e..eb1e99f 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) { @@ -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 d60a209..b5736aa 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 8c65a3e..d6034ef 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 ffb569d..7a2a7a8 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 98d2035..f8ae732 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 cd6f709f..a273d0b 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 a752284..a283328 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 5c651b4..f63c20a 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 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 (); diff --git a/gcc/toplev.c b/gcc/toplev.c index cea3bb4..c7e5440 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 (); |