summaryrefslogtreecommitdiff
path: root/gcc/gen-protos.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gen-protos.c')
-rw-r--r--gcc/gen-protos.c4
1 files changed, 1 insertions, 3 deletions
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);