diff options
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r-- | gdb/gnu-nat.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index d5e3841..0ad35ca 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -2230,7 +2230,7 @@ gnu_attach (struct target_ops *ops, const char *args, int from_tty) /* We have to initialize the terminal settings now, since the code below might try to restore them. */ - target_terminal_init (); + target_terminal::init (); /* If the process was stopped before we attached, make it continue the next time the user does a continue. */ @@ -3480,11 +3480,6 @@ to the thread's initial suspend-count when gdb notices the threads."), &thread_cmd_list); } - - -/* -Wmissing-prototypes */ -extern initialize_file_ftype _initialize_gnu_nat; - void _initialize_gnu_nat (void) { |