aboutsummaryrefslogtreecommitdiff
path: root/gdb/arc-linux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arc-linux-nat.c')
-rw-r--r--gdb/arc-linux-nat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/arc-linux-nat.c b/gdb/arc-linux-nat.c
index 091a966..75fc4b7 100644
--- a/gdb/arc-linux-nat.c
+++ b/gdb/arc-linux-nat.c
@@ -309,9 +309,7 @@ ps_get_thread_area (struct ps_prochandle *ph, lwpid_t lwpid, int idx,
}
/* Suppress warning from -Wmissing-prototypes. */
-void _initialize_arc_linux_nat ();
-void
-_initialize_arc_linux_nat ()
+INIT_GDB_FILE (arc_linux_nat)
{
/* Register the target. */
linux_target = &the_arc_linux_nat_target;