aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests/rsp-low-selftests.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/unittests/rsp-low-selftests.c')
-rw-r--r--gdb/unittests/rsp-low-selftests.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/unittests/rsp-low-selftests.c b/gdb/unittests/rsp-low-selftests.c
index 7a1b2de..d0002ae 100644
--- a/gdb/unittests/rsp-low-selftests.c
+++ b/gdb/unittests/rsp-low-selftests.c
@@ -60,9 +60,7 @@ static void test_hex2str ()
} /* namespace rsp_low */
} /* namespace selftests */
-void _initialize_rsp_low_selftests ();
-void
-_initialize_rsp_low_selftests ()
+INIT_GDB_FILE (rsp_low_selftests)
{
selftests::register_test ("hex2bin_byte_vector",
selftests::rsp_low::test_hex2bin_byte_vector);