Add target_ops argument to to_terminal_ours

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

	* target.h (struct target_ops) <to_terminal_ours>: Add argument.
	(target_terminal_ours): Add argument.
	* target.c (debug_to_terminal_ours): Add argument.
	(update_current_target): Update.
	* remote.c (remote_terminal_ours): Add 'self' argument.
	(remote_close): Update.
	* linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
	* inflow.c (terminal_ours): Add 'self' argument.
	* inferior.h (terminal_ours): Add 'self' argument.
	* go32-nat.c (go32_terminal_ours): Add 'self' argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:30:49 -07:00
parent 2e1e1a193c
commit e3594fd196
8 changed files with 28 additions and 15 deletions

View File

@@ -363,7 +363,7 @@ terminal_ours_for_output (struct target_ops *self)
so they can be restored properly later. */
void
terminal_ours (void)
terminal_ours (struct target_ops *self)
{
terminal_ours_1 (0);
}