diagnostic.c (output_to_stream): Rename to output_buffer_to_stream.
authorGabriel Dos Reis <gdr@merlin.codesourcery.com>
Fri, 23 Feb 2001 17:28:25 +0000 (17:28 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Fri, 23 Feb 2001 17:28:25 +0000 (17:28 +0000)
commit3d7c9b7e5b96c13586119a25e4e6141f060bf79d
tree7b39cf093a88c1aec0218061f4a7916c30cf1fe1
parentfba2c0cdbcf92d860a2acd8a2667a68b723dc8c0
diagnostic.c (output_to_stream): Rename to output_buffer_to_stream.

* diagnostic.c (output_to_stream): Rename to
output_buffer_to_stream. Loses the stream parameter.
(init_output_buffer): Set diagnosic_buffer's stream.
(flush_diagnostic_buffer): Adjust.
(default_print_error_function): Likewise.
(finish_diagnostic): Likewise.
(verbatim): Likewise.

* diagnostic.h (struct output_buffer): Add `stream' field.
(output_buffer_attached_stream): New macro.

From-SVN: r39999
gcc/ChangeLog
gcc/diagnostic.c
gcc/diagnostic.h