aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests/packed-selftests.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/unittests/packed-selftests.c')
-rw-r--r--gdb/unittests/packed-selftests.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/unittests/packed-selftests.c b/gdb/unittests/packed-selftests.c
index daa8036..5a91b29 100644
--- a/gdb/unittests/packed-selftests.c
+++ b/gdb/unittests/packed-selftests.c
@@ -119,9 +119,7 @@ run_tests ()
} /* namespace packed_tests */
} /* namespace selftests */
-void _initialize_packed_selftests ();
-void
-_initialize_packed_selftests ()
+INIT_GDB_FILE (packed_selftests)
{
selftests::register_test ("packed", selftests::packed_tests::run_tests);
}