diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2019-11-26 12:12:02 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2019-11-26 14:29:20 -0500 |
commit | fe3adccffd7a62096af96228a280a6457deb5896 (patch) | |
tree | b6ff876140360b872e91c375d8c1c1dcd561b816 /gdb/inflow.c | |
parent | b926335f334fc8019643d14d4e6d247ed787746b (diff) | |
download | gdb-fe3adccffd7a62096af96228a280a6457deb5896.zip gdb-fe3adccffd7a62096af96228a280a6457deb5896.tar.gz gdb-fe3adccffd7a62096af96228a280a6457deb5896.tar.bz2 |
Remove info_terminal_command declaration, make definition static
The info_terminal_command declaration in inflow.h does not match the
current definition. It is not needed anyway, as info_terminal_command
is only used locally, so remove it and make the definition static.
gdb/ChangeLog:
* inferior.h (info_terminal_command): Remove declaration.
* inflow.c (info_terminal_command): Make static.
Change-Id: I22c3fcc44244e3cf877b5e27eff189af11c39503
Diffstat (limited to 'gdb/inflow.c')
-rw-r--r-- | gdb/inflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inflow.c b/gdb/inflow.c index 6d645d2..c866179 100644 --- a/gdb/inflow.c +++ b/gdb/inflow.c @@ -673,7 +673,7 @@ swap_terminal_info (inferior *a, inferior *b) std::swap (a->terminal_state, b->terminal_state); } -void +static void info_terminal_command (const char *arg, int from_tty) { target_terminal::info (arg, from_tty); |