Move tui_dispatch_ctrl_char to tui-io.c
authorTom Tromey <tom@tromey.com>
Tue, 2 Jul 2019 21:43:00 +0000 (15:43 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:19:22 +0000 (12:19 -0600)
commit2d8b51cba307333b6a068296d9668cd01164de28
tree98cde2a1b492383c0fe77adc949329d39d1120d3
parent18ab23af8b3d473f795ce48ee54a47e1a3e7ae47
Move tui_dispatch_ctrl_char to tui-io.c

tui_dispatch_ctrl_char is only called from a single spot in tui-io.c,
so move the function to that file and make it static.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

* tui/tui-io.c (tui_dispatch_ctrl_char): Move from tui-command.c.
Now static.
* tui/tui-command.h (tui_dispatch_ctrl_char): Don't declare.
* tui/tui-command.c (tui_dispatch_ctrl_char): Move to tui-io.c.
gdb/ChangeLog
gdb/tui/tui-command.c
gdb/tui/tui-command.h
gdb/tui/tui-io.c