diff options
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r-- | gdb/linux-nat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index adb763a..4c91e4f 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -4558,7 +4558,7 @@ linux_nat_terminal_inferior (void) /* target_terminal_ours implementation. */ -void +static void linux_nat_terminal_ours (void) { if (!target_is_async_p ()) @@ -4799,6 +4799,9 @@ linux_nat_setup_async (void) fcntl (linux_nat_event_pipe[1], F_SETFL, O_NONBLOCK); } +/* Provide a prototype to silence -Wmissing-prototypes. */ +extern initialize_file_ftype _initialize_linux_nat; + void _initialize_linux_nat (void) { |