aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch-selftests.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbarch-selftests.c')
-rw-r--r--gdb/gdbarch-selftests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbarch-selftests.c b/gdb/gdbarch-selftests.c
index 47f4d99..c99a900 100644
--- a/gdb/gdbarch-selftests.c
+++ b/gdb/gdbarch-selftests.c
@@ -160,8 +160,9 @@ register_to_value_test (struct gdbarch *gdbarch)
} // namespace selftests
#endif /* GDB_SELF_TEST */
+void _initialize_gdbarch_selftests ();
void
-_initialize_gdbarch_selftests (void)
+_initialize_gdbarch_selftests ()
{
#if GDB_SELF_TEST
selftests::register_test_foreach_arch ("register_to_value",