aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests/optional-selftests.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/unittests/optional-selftests.c')
-rw-r--r--gdb/unittests/optional-selftests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/unittests/optional-selftests.c b/gdb/unittests/optional-selftests.c
index 76343c6..0bcf964 100644
--- a/gdb/unittests/optional-selftests.c
+++ b/gdb/unittests/optional-selftests.c
@@ -90,5 +90,5 @@ run_tests ()
void
_initialize_optional_selftests ()
{
- register_self_test (selftests::optional::run_tests);
+ selftests::register_test (selftests::optional::run_tests);
}