constify ui_out_impl
authorTom Tromey <tromey@redhat.com>
Tue, 24 Dec 2013 03:53:23 +0000 (20:53 -0700)
committerTom Tromey <tromey@redhat.com>
Fri, 28 Feb 2014 15:51:15 +0000 (08:51 -0700)
commit89de4da46b3b3629c51e6e1a37177a6269dc8b05
tree50603f2b5dfbdf72136500334974d7c511b3c291
parent02fe846e43cb0190251a6fefbd322201b4bbe02d
constify ui_out_impl

This patch constifies ui_out_impl in struct ui_out, and various
instances of ui_out_impl.

This removes a couple of FIXME comments (near cli_ui_out_impl and
mi_ui_out_impl) that did not make sense to me.

Tested by rebuilding.

2014-02-28  Tom Tromey  <tromey@redhat.com>

* cli-out.c (cli_ui_out_impl): Now const.  Remove comment.
* cli-out.h (cli_ui_out_impl): Now const.
* mi/mi-out.c (mi_ui_out_impl): Now const.  Remove comment.
* ui-out.c (struct ui_out) <impl>: Now const.
(default_ui_out_impl): Now const.
(ui_out_new): Make 'impl' parameter const.
* ui-out.h (ui_out_new): Update.
gdb/ChangeLog
gdb/cli-out.c
gdb/cli-out.h
gdb/mi/mi-out.c
gdb/ui-out.c
gdb/ui-out.h
This page took 0.028897 seconds and 4 git commands to generate.