summaryrefslogtreecommitdiffstats
path: root/app/test/test_rwlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_rwlock.c')
-rw-r--r--app/test/test_rwlock.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_rwlock.c b/app/test/test_rwlock.c
index b383bba2..50f58ade 100644
--- a/app/test/test_rwlock.c
+++ b/app/test/test_rwlock.c
@@ -129,8 +129,4 @@ test_rwlock(void)
return 0;
}
-static struct test_command rwlock_cmd = {
- .command = "rwlock_autotest",
- .callback = test_rwlock,
-};
-REGISTER_TEST_COMMAND(rwlock_cmd);
+REGISTER_TEST_COMMAND(rwlock_autotest, test_rwlock);