aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests/scoped_restore-selftests.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/unittests/scoped_restore-selftests.c')
-rw-r--r--gdb/unittests/scoped_restore-selftests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/unittests/scoped_restore-selftests.c b/gdb/unittests/scoped_restore-selftests.c
index e97d622..ea7492b 100644
--- a/gdb/unittests/scoped_restore-selftests.c
+++ b/gdb/unittests/scoped_restore-selftests.c
@@ -106,5 +106,5 @@ run_tests ()
void
_initialize_scoped_restore_selftests ()
{
- register_self_test (selftests::scoped_restore_tests::run_tests);
+ selftests::register_test (selftests::scoped_restore_tests::run_tests);
}